Skip to content

[MOO-2433]: Replace third-party sliders with an internal Slider component - 11.12 - #663

Open
YogendraShelke wants to merge 5 commits into
mx/11.12.xfrom
moo/MOO-2433-native-slider-11.12
Open

YogendraShelke wants to merge 5 commits into
mx/11.12.xfrom
moo/MOO-2433-native-slider-11.12

Conversation

@YogendraShelke

Copy link
Copy Markdown
Contributor

What is the purpose of this PR?

Remove the unmaintained react-native-slider (and its patch), react-native-color and @miblanchard/react-native-slider, and make sliders accessible.

Relevant changes

  • New Slider and RangeSlider in piw-native-utils-internal, used by slider-native, range-slider-native and color-picker-native.
  • Color picker gradients vendored from react-native-color.
  • Sliders are adjustable for VoiceOver/TalkBack and report their value (per thumb for range slider).
  • Drag, tap-to-position, stepping, disabled state and RTL behave as before; range thumbs cannot cross and separate when on the same value.

What should be covered while testing?

  • Slider, Range slider and Color picker: drag, tap on track, step snapping, disabled state.
  • Range slider with both thumbs on the same value.
  • VoiceOver/TalkBack: value announced, swipe up/down adjusts it.

Add Slider and RangeSlider to piw-native-utils-internal and use them in
slider-native, range-slider-native and color-picker-native.

- Remove react-native-slider (and its patch), react-native-color and
  @miblanchard/react-native-slider.
- Sliders are adjustable for VoiceOver/TalkBack and report their value.
- Drag, tap-to-position, stepping, disabled state and RTL behave as before;
  range thumbs cannot cross and separate when on the same value.
- Keep a 48x48 minimum touch area for thumbs.
@YogendraShelke
YogendraShelke requested a review from a team as a code owner September 29, 2026 18:27
@YogendraShelke YogendraShelke changed the title [MOO-2433]: Replace third-party sliders with an internal Slider component- #661 [MOO-2433]: Replace third-party sliders with an internal Slider component - 11.12 Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants