@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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. 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(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/web-components",
3
- "version": "2.2.0-dev.19",
3
+ "version": "2.2.0-dev.20",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - UI Web components",
6
6
  "bugs": {