Repository navigation
Releases: lifarl/react-scroll-snap-slider
Releases · lifarl/react-scroll-snap-slider
Release list
Release v3.0.4-alpha
What's Changed
- update to react 18
- remove styled components -> import the css manually from now (no more additional peer deps)
- improve a11y
- improve performance
- improve demo
Full Changelog: v2.0.5...v3.0.0-alpha
Release v2.0.5
Release v2.0.4
- Fix an error in safari during component unmount
Release v2.0.3
- exported Styled elements for easy style overrides
Release v2.0.2
Release v2.0.1
- fixed a bug to ensure update of scroll status on changed slide count
- exposed slider ref for custom scroll indicators.
Release v2.0.0
Breaking Changes:
- changed
onScrolltoonScrollStartto better reflect the actual function - changed
afterScrolltoonScrollEnd - changed intersectionThreshold from 0.66 to 0.5 to determine that the slide is visible when 50% of it is visible
- changed IntersectionObserver root to the slider instead of null so that whether the slide is visible or not is based on it's position on the slider and not the entire viewport
Features
- added
onSlidesVisibilityChangefunction fires when the visible slides change and receives the index of the middle visible slide
fixed:
Fixes
- fixed:
isSliderScrollablecalculation - fixed: some change in IntersectionObserver
Release v1.0.2
- Added
aria-hiddenattribute for accessibility
Release v1.0.1
v0.7.0-alpha.1
chore(version): bump to 0.7.0-alpha.1