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

Possible Incorrect State Management #315

Open
kjowak opened this issue Mar 21, 2024 · 0 comments
Open

Possible Incorrect State Management #315

kjowak opened this issue Mar 21, 2024 · 0 comments

Comments

@kjowak
Copy link

kjowak commented Mar 21, 2024

Description

In the "OnSliderMouseDown" event, the state is set to "pending : true" regardless of if snapDragDisabled is true or false. I am new to React so I might be missing something, but to me this doesn't make sense. If snapDragDisabled is true, then clicking on the slider shouldn't affect the internal state. Therefore, it shouldn't restrict the outside state from updating the component when the slider is clicked.

Screenshot

image

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