@elmethis/qwik 0.0.16 → 0.0.17

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.
@@ -1344,6 +1344,8 @@ const ElmPageTop = qwik.component$(({ position = "right" }) => {
1344
1344
  });
1345
1345
  checkScroll();
1346
1346
  cleanup(() => window.removeEventListener("scroll", checkScroll));
1347
+ }, {
1348
+ strategy: "document-idle"
1347
1349
  });
1348
1350
  const toTop = qwik.$(() => {
1349
1351
  window.scrollTo({
@@ -1342,6 +1342,8 @@ const ElmPageTop = component$(({ position = "right" }) => {
1342
1342
  });
1343
1343
  checkScroll();
1344
1344
  cleanup(() => window.removeEventListener("scroll", checkScroll));
1345
+ }, {
1346
+ strategy: "document-idle"
1345
1347
  });
1346
1348
  const toTop = $(() => {
1347
1349
  window.scrollTo({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmethis/qwik",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },