@abgov/web-components 2.2.0-dev.19 → 2.2.0-dev.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -34053,7 +34053,7 @@ function V5(t, e, o) {
|
|
|
34053
34053
|
let se = "";
|
|
34054
34054
|
[...g.querySelectorAll("[role=tab]")].map((ee, ne) => {
|
|
34055
34055
|
const be = ne + 1 === +h;
|
|
34056
|
-
ee.setAttribute("aria-selected", Xt(be)), ee.setAttribute("tabindex", be ? "0" : "-1"), be && (se = ee.href, U || ee.focus());
|
|
34056
|
+
ee.setAttribute("aria-selected", Xt(be)), ee.setAttribute("tabindex", be ? "0" : "-1"), be && (se = ee.href, U || ee.focus({ preventScroll: !0 }));
|
|
34057
34057
|
});
|
|
34058
34058
|
for (const [ee, ne] of b.entries())
|
|
34059
34059
|
ne.el.dispatchEvent(new CustomEvent(
|