You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated the version in package.json from 1.3.0 to 1.4.0.
- Refactored index.min.js to include new features and optimizations.
- Enhanced anchor link conversion logic to return the count of converted links.
- Added logging for anchor conversion and instance creation.
- Implemented auto-resize observers for instances to handle DOM changes.
- Improved error handling and logging for script loading and scroll triggers.
@@ -461,9 +473,12 @@ This helps you confirm exactly what configuration is applied in the browser.
461
473
-**Decrease**`rt-smooth-scroll-lerp` (e.g. `0.1 → 0.05`) for a smoother/heavier feel.
462
474
- Leave `rt-smooth-scroll-wheel-multiplier="1"` unless you have a strong reason to change perceived speed.
463
475
464
-
### Duration / easing doesn’t seem to do anything
476
+
### Dynamic content (Accordions/Tabs) cuts off scroll
477
+
478
+
This library includes a built-in `ResizeObserver` that watches your content for height changes.
465
479
466
-
Lenis treats `duration` and `easing` as **useless if `lerp` is defined**. If you want time-based behavior, ensure you’re not effectively running in lerp-mode.
480
+
- Ensure your content is properly wrapped.
481
+
- If you have rapid animations causing lag, you can debounce the resize events using `rt-smooth-scroll-resize-debounce-ms="100"`.
0 commit comments