@toteat-eng/ds-react 2026.8.27 → 2026.827.0
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/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -1
package/dist/index.es.js
CHANGED
|
@@ -1068,7 +1068,7 @@ function lr(e, t = {}) {
|
|
|
1068
1068
|
};
|
|
1069
1069
|
let t = window.scrollY;
|
|
1070
1070
|
return document.body.style.overflow = "hidden", document.body.style.position = "fixed", document.body.style.top = `-${t}px`, document.body.style.width = "100%", () => {
|
|
1071
|
-
document.body.style.overflow = "", document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollTo(0, t);
|
|
1071
|
+
document.body.style.overflow = "", document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollY !== t && window.scrollTo(0, t);
|
|
1072
1072
|
};
|
|
1073
1073
|
}, [e, n]);
|
|
1074
1074
|
}
|