@vectoriox/iox-ui 5.5.0 → 5.5.1
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.
|
@@ -395,6 +395,14 @@ class PageScrollProvider {
|
|
|
395
395
|
this.lenis = new Lenis(options || {});
|
|
396
396
|
this.startLoop();
|
|
397
397
|
}
|
|
398
|
+
/** Hard-stop page scroll (dialog open, A1b): wheel/touch frozen until start(). */
|
|
399
|
+
stop() {
|
|
400
|
+
this.lenis?.stop();
|
|
401
|
+
}
|
|
402
|
+
/** Resume after stop() — the dialog's close path, incl. native Esc/backdrop closes. */
|
|
403
|
+
start() {
|
|
404
|
+
this.lenis?.start();
|
|
405
|
+
}
|
|
398
406
|
scrollTo(y, options) {
|
|
399
407
|
this.instance.scrollTo(y, options);
|
|
400
408
|
}
|