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

Css pointer-events support in IE-11 is incorrect #920

Closed
Rendalf opened this issue Jul 27, 2016 · 1 comment
Closed

Css pointer-events support in IE-11 is incorrect #920

Rendalf opened this issue Jul 27, 2016 · 1 comment

Comments

@Rendalf
Copy link

Rendalf commented Jul 27, 2016

If your draggable element contains pseudoelements,
IE11 can return incorrect element on document.elementFromPoint(...)

Sortable.js will solve that user wants to drop element to itself and will place it to end of list

Example: http://jsbin.com/xapivorovo/1/edit?html,css,js,output

Rendalf pushed a commit to Rendalf/Sortable that referenced this issue Jul 27, 2016
IE-11 supports css pointer-events incorrect:
if your draggable elem contains pseudoelements,
Sortable.js will solve that your draggable elem
are dropping to itself.
So Sortable.js will place your draggable elem to end of list.

This PR lets you detect IE11 and pass param disabledPointerEvents
to Sortable and Sortable will hide your draggable elem
as if you use IE10.
Rendalf pushed a commit to Rendalf/Sortable that referenced this issue Jul 27, 2016
IE-11 supports css pointer-events incorrect:
if your draggable elem contains pseudoelements,
Sortable.js will solve that your draggable elem
are dropping to itself.
So Sortable.js will place your draggable elem to end of list.

This PR let to Sortable.js solve that IE11 doesnt support pointer-events
@Rendalf Rendalf changed the title IE11 supports css pointer-events incorrect Css pointer-events support in IE-11 is incorrect Jul 28, 2016
@Rendalf
Copy link
Author

Rendalf commented Jul 28, 2016

Pull Request: #923

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