Skip to content

Releases: lifarl/react-scroll-snap-slider

Release v3.0.4-alpha

Release v3.0.4-alpha Pre-release
Pre-release

Choose a tag to compare

@lifarl lifarl released this 21 Sep 07:53

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

Choose a tag to compare

@lifarl lifarl released this 21 Oct 19:17
Merge branch 'master' of https://github.com/lifarl/react-scroll-snap-…

Release v2.0.4

Choose a tag to compare

@lifarl lifarl released this 17 Jul 17:17
  • Fix an error in safari during component unmount

Release v2.0.3

Choose a tag to compare

@lifarl lifarl released this 13 Mar 11:53
e86b56c
  • exported Styled elements for easy style overrides

Release v2.0.2

Choose a tag to compare

@lifarl lifarl released this 07 Mar 09:45
  • fixed a type issue

Release v2.0.1

Choose a tag to compare

@lifarl lifarl released this 07 Mar 09:17
e5a40e7
  • fixed a bug to ensure update of scroll status on changed slide count
  • exposed slider ref for custom scroll indicators.

Release v2.0.0

Choose a tag to compare

@lifarl lifarl released this 15 Nov 21:41
d8bda97

Breaking Changes:

  • changed onScroll to onScrollStart to better reflect the actual function
  • changed afterScroll to onScrollEnd
  • 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 onSlidesVisibilityChange function fires when the visible slides change and receives the index of the middle visible slide
    fixed:

Fixes

  • fixed: isSliderScrollable calculation
  • fixed: some change in IntersectionObserver

Release v1.0.2

Choose a tag to compare

@lifarl lifarl released this 11 Nov 11:35
  • Added aria-hidden attribute for accessibility

Release v1.0.1

Choose a tag to compare

@lifarl lifarl released this 21 Oct 17:05
chore(version): bump to 1.0.1

v0.7.0-alpha.1

v0.7.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@lifarl lifarl released this 07 Oct 12:55
chore(version): bump to 0.7.0-alpha.1