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

Both "pointerup" and "MSPointerUp"​​​ are triggered in IE10 and IE11 if zone.js is used #589

Description

@dxvladislavvolkov

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.

Activity

  1. JiaLiPassion commented on Jan 11, 2017

    @JiaLiPassion
    Collaborator

    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.

  2. added a commit that references this issue on Aug 26, 2018
  3. added 3 commits that reference this issue on Sep 6, 2018
  4. JiaLiPassion commented on Jul 21, 2019

    @JiaLiPassion
    Collaborator

    close for duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions