github callstack/react-native-slider v4.2.0
v4.2.0: Controlled value

latest releases: v5.2.1, v5.2.0, v5.1.2...
4 years ago

This release introduces the value property refactored so that it can be easily used to programmatically control the position of the thumb.

Most important notes about the updated value property:

  • Can be used to programmatically control the position of the thumb,
  • Affects the thumb's position immediately once updated
  • Programmatic update to the value does not trigger the onValueChange event
  • When updated during manual dragging the manual update has priority
  • Property is still optional and can be still used as an initial value only

For more information please visit the PR implementing the feature: #349

Don't miss a new react-native-slider release

NewReleases is sending notifications on new releases.