Releases: Rethink-JS/rt-smooth-scroll
Releases · Rethink-JS/rt-smooth-scroll
v1.4.0
v1.3.0
Stable release of rt-smooth-scroll, adding robust scroll-to completion hooks and improved configuration coverage.
Features:
- Scroll-to completion hooks via
rt-smooth-scroll-on-complete(per-trigger + global default) - Auto-inject completion hooks for converted anchor links via
rt-smooth-scroll-anchor-links-on-complete - Multiple completion action formats: selector-click,
click:,focus:,dispatch:,call:, and JSON action lists - Completion runs after the built-in layout-shift correction pass for element targets
- Expanded Lenis option support via attributes (including
autoResize,overscroll,anchors,autoToggle,allowNestedScroll,touchInertiaExponent, andoptions-json) - Optional wrapper/content/eventsTarget mapping via selectors for advanced setups
v1.2.0
Stable release of rt-smooth-scroll, including new navigation features.
Features:
- Zero-config Lenis integration
- Attribute-driven configuration
- Smart
rt-smooth-scroll-totriggers (selectors, top, numeric) - Automatic anchor link conversion (Clean URLs / No Hash)
- Dynamic element-based offsets (for sticky headers)
- Context-aware nested scroll instances
- Global JS API