@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.
- package/lib/index.qwik.cjs +2 -0
- package/lib/index.qwik.mjs +2 -0
- package/package.json +1 -1
package/lib/index.qwik.cjs
CHANGED
|
@@ -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({
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -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({
|