This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 408
Both "pointerup" and "MSPointerUp" are triggered in IE10 and IE11 if zone.js is used #589
Comments
Without zone.js, the event also both triggered, you can see this plunker, but maybe IE do some tricks to see whether the MSPointer handler is the same with pointerup handler, if they the same, the handler will be executed once. And with zone.js patch, the handler are not equals even they reference the same handler. I'm not sure whether zone.js should handle this or not. |
JiaLiPassion
added a commit
to JiaLiPassion/zone.js
that referenced
this issue
Aug 26, 2018
JiaLiPassion
added a commit
to JiaLiPassion/zone.js
that referenced
this issue
Sep 6, 2018
JiaLiPassion
added a commit
to JiaLiPassion/zone.js
that referenced
this issue
Sep 6, 2018
JiaLiPassion
added a commit
to JiaLiPassion/zone.js
that referenced
this issue
Sep 11, 2018
close for duplicate |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I registered an event handler for the "pointerup" and "MSPointerUp" events. The "MSPointerUp" event is handled for IE10 compatibility and the "pointerup" event for IE11
As a result, both handlers are executed in IE11 (and IE10) if zone.js is registered on the page.
I expect that only one handler should be executed.
You can see example here.
The text was updated successfully, but these errors were encountered: