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

The handle can't have nested elements in it #88

Closed
AndrewRayCode opened this issue Oct 5, 2015 · 1 comment
Closed

The handle can't have nested elements in it #88

AndrewRayCode opened this issue Oct 5, 2015 · 1 comment

Comments

@AndrewRayCode
Copy link
Contributor

https://github.com/mzabriskie/react-draggable/blob/master/lib/draggable.js#L526

  if ((this.props.handle && !matchesSelector(e.target, this.props.handle)) ||

This needs to check all parent of handle as well.

@STRML
Copy link
Collaborator

STRML commented Oct 27, 2015

👍 Will fix at a later date.

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

2 participants