Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Fix for IE9 Double Click and Missed Dropzone #59

Closed
wants to merge 1 commit into from
Closed

Fix for IE9 Double Click and Missed Dropzone #59

wants to merge 1 commit into from

Conversation

dairyisscary
Copy link

Since the addition of the .dndDraggingSource class is in a $timeout,
there is no guarantee that this class exists at the time of removal.
In IE9 this appears to be an issue because the the drag operation
are event loop blocking.

Potential fix for #21.

I didn't minify code/package anything, I'll leave that a release. Also, as a side note that one might consider: while the timeout might be necessary, perhaps it might be worth just using a regular setTimeout instead of $timeout for the add and removal of this class. There's no need to fire a potential $digest for this.

Since the addition of the .dndDraggingSource class is in a $timeout,
there is no guarantee that this class exists at the time of removal.
In IE9 this appears to be an issue because the the drag operation
are event loop blocking.
@marceljuenemann marceljuenemann modified the milestone: 1.3.0 Jul 22, 2015
@marceljuenemann marceljuenemann self-assigned this Jul 22, 2015
@marceljuenemann
Copy link
Owner

Thanks for your PR, the solution makes a lot of sense to me.

I merged it to the dev branch, but haven't actually gotten around to test it in IE. Will merge to master once I did that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants