wix / react-native-ui-lib

UI Components Library for React Native

Home Page:https://wix.github.io/react-native-ui-lib/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slider not placing thumbs correctly

sebastianjung opened this issue · comments

Description

I might be using it wrong but as soon as i use the following simple configuration, both thumbs are placed at the start of the slider:

<Slider
    minimumValue={15}
    initialMinimumValue={15}
    initialMaximumValue={26}
    maximumValue={100}
    step={1}
    useRange
/>

whereas changing initialMaximumValue to 27 and above works as expected and places the thumbs to its expected position.

Related to

  • Components
  • Demo
  • Docs
  • Typings

Environment

  • React Native version: 0.71.11
  • React Native UI Lib version: 7.8.0
  • Expo version: 48.0.10

Affected platforms

  • [?] Android
  • iOS
  • [?] Web

If you need any more input, let me know!

Appreciate your work!