@fastkit/vui 0.19.8 → 0.19.10
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/vui.mjs +2 -0
- package/dist/vui.mjs.map +1 -1
- package/package.json +26 -26
- package/src/plugin.tsx +1 -0
package/dist/vui.mjs
CHANGED
|
@@ -4828,6 +4828,8 @@ var VuiPlugin = class {
|
|
|
4828
4828
|
},
|
|
4829
4829
|
// eslint-disable-next-line no-shadow
|
|
4830
4830
|
fn: (el, opts2) => {
|
|
4831
|
+
if (window.getComputedStyle(el).scrollMargin)
|
|
4832
|
+
return;
|
|
4831
4833
|
const duration = opts2?.behavior === "smooth" ? void 0 : 0;
|
|
4832
4834
|
return scroller.toElement(el, {
|
|
4833
4835
|
offset: $vui.getAutoScrollToElementOffsetTop(),
|