Skip to content

v4.2.0: Controlled value

Compare
Choose a tag to compare
@BartoszKlonowski BartoszKlonowski released this 23 Jan 16:12
· 176 commits to main since this release
dec3a7f

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