Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider not placing thumbs correctly #2732

Open
2 of 5 tasks
sebastianjung opened this issue Sep 4, 2023 · 1 comment
Open
2 of 5 tasks

Slider not placing thumbs correctly #2732

sebastianjung opened this issue Sep 4, 2023 · 1 comment
Labels
bug a bug in one of the components

Comments

@sebastianjung
Copy link

sebastianjung commented Sep 4, 2023

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!

@sebastianjung sebastianjung added the bug a bug in one of the components label Sep 4, 2023
@mihaibulic2
Copy link

+1 this is happening on Slider and Incubator.Slider; it's pretty bad and just happens out of the box (at least on Android), so not sure how there aren't any other reports?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in one of the components
Projects
None yet
Development

No branches or pull requests

2 participants