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

Give onSliderDragStart the event object #82

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pconerly
Copy link

This relies on @pkenway 's PR, #77

Rheostat already gives the clientX/clientY on handleDrag, but it doesn't give it on DragStart. Unfortunately that means that if the user clicks on a slider, but doesn't move their mouse or finger, then we won't know where the clientX/clientY is.

This PR fixes that!

@pconerly pconerly changed the title Give drag start event object Give onSliderDragStart the event object May 12, 2017
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

Successfully merging this pull request may close these issues.

2 participants