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

How to detect click on bar vs drag #1033

Open
mbret opened this issue Aug 24, 2024 · 0 comments
Open

How to detect click on bar vs drag #1033

mbret opened this issue Aug 24, 2024 · 0 comments

Comments

@mbret
Copy link

mbret commented Aug 24, 2024

My use case is that I need to do X when user click somewhere on the bar but not by dragging the knob and Y when the user drag the knob.

I did not find any callback or state to let me do that. I also noticed that activeHandleRender has the prop dragging as true even when I don't drag it. I initially wanted to watch the props of the activeHandleRender as workaround but I cannot because of that.

Is there a feature I did not see or it's just not possible currently ?

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