Skip to content

Give onSliderDragStart the event object#82

Open
pconerly wants to merge 4 commits into
airbnb:masterfrom
picmonkey:give-drag-start-event-object
Open

Give onSliderDragStart the event object#82
pconerly wants to merge 4 commits into
airbnb:masterfrom
picmonkey:give-drag-start-event-object

Conversation

@pconerly
Copy link
Copy Markdown

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