Releases: alantoa/react-native-awesome-slider
Releases · alantoa/react-native-awesome-slider
Release 2.9.0
2.9.0 (2024-12-30)
Features
- Added
renderContainer
prop to support custom containers #89 by @mrevanzak
Example Update
- Added a new Wave Slider 🌊
Release 2.8.0
Release 2.7.2
2.7.2 (2024-12-23)
- Add the
renderTrack
props, which allows you to customize the rendering of the track for each step.
Release 2.7.1
2.7.1 (2024-12-20)
- Web support
- Document improvement
- Bug fixes
v2.6.6
Release 2.6.2
2.6.2 (2024-12-18)
- Fixed the annoying "[Reanimated] Read
value
during component rendering." warning. - Fixed an issue where some props did not update when changing
forceSnapToStep
, due to missing dependencies.
Release 2.6.1
2.6.1 (2024-12-08)
New Features
Snap Behavior Enhancements
We've improved the slider's snapping behavior with new customizable options:
snapThreshold
(New)
- Controls the magnetic snapping behavior when thumb is near a step
- Default value is
0
(snapping disabled) - Works with percentage or absolute units
snapThresholdMode
(New)
- Determines how
snapThreshold
is interpreted:'percentage' | 'absolute'
- Default is
'absolute'
forceSnapToStep
(Renamed)
- Previously named
snapToStep
- Forces the thumb to always snap to the nearest step
- When enabled, overrides
snapThreshold
behavior - Default is
false
Example Update
Added new example inspired by Binance app slider: