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

Right marker disappears when 0 #253

Open
sandlands opened this issue Dec 10, 2021 · 0 comments
Open

Right marker disappears when 0 #253

sandlands opened this issue Dec 10, 2021 · 0 comments

Comments

@sandlands
Copy link

I'm using version 2.2.2. I have a MultiSlider with two markers and a range of (let's say) [-10, 10]. The left marker is set to anything below 0 (eg. -5) and the right marker is set to 0. When I start dragging the left marker, the right marker disappears. When I catch the value in the values setter, I can see that only one value (of the left marker) is in the array instead of two. (The left marker is still limited to the value of the right marker, it cannot exceed 0, which indicates that the right marker's value is still in effect.)

Steps to Reproduce

See this Expo Snack: https://snack.expo.dev/@buzzerbee/multislider-bug

Expected Behavior

Right marker does not disappear when dragging the left marker. There are two values provided to the values setter.

Actual Behavior

Right marker disappears when dragging the left marker (and the right markers value is 0). There is only one value in the values setter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant