8000 Incorrect events order with ngTouch · Issue #12734 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Incorrect events order with ngTouch #12734
Closed
@tamtakoe

Description

@tamtakoe
<element>
    <input/>
</element>
document.addEventListener('click', click, true);
document.addEventListener('touchend', touchend, true);
element.addEventListener('mousedown', mousedown, true);
element.addEventListener('touchstart', touchstart, true);
element.addEventListener('blur', blur, true);
inputElement.addEventListener('focus', focus);

mouse click

["mousedown","click","focus"] 

touch without ngTouch

["touchstart","touchend","mousedown","click","focus"] 

touch with ngTouch. Incorrect order!

["touchstart","touchend","mousedown","focus","click","blur"]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0