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

pass the bounded x and y in the DraggableData #226

Closed

Conversation

edeustace
Copy link

I was running into an issue where I was trying to synch a component's position with another one that was being dragged via a Draggable, I was using onDrag for this.

It works fine until you go outside the bounds at which point the x/y would fall out of synch. This PR returns the bounded x/y (set in newState) in DraggableData back to the callback.

@romamatusevich
Copy link

@STRML, can these changes be added to the next release?

@Spiralis Spiralis mentioned this pull request Jul 28, 2017
@romamatusevich
Copy link

@STRML, could you please rerun tests? I think the failed checks may be an environment issue.

STRML added a commit that referenced this pull request Aug 21, 2017
@STRML
Copy link
Collaborator

STRML commented Aug 21, 2017

Ported into 55f701e - thanks for the contribution.

@STRML STRML closed this Aug 21, 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.

None yet

3 participants