8000 angular-touch breaks click events · Issue #6001 · 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.
angular-touch breaks click events #6001
Closed
@scheffield

Description

@scheffield

Hi,

Overview of the issue:
Without jQuery, all click listeners got an empty event object if the link is annotated with ng-click.

<a data-ng-click="reportClick()" data-test-listen-to-click>Link with directive</a>

Leads to:

testListenToClick#onClick; event: 
Object {preventDefault: function, stopPropagation: function}

Motivation for or Use Case
This for example breaks angular-ui-router: angular-ui/ui-router#827

Angular Version(s)
1.2.10

Browsers and Operating System
Chrome 32 with touch emulation, Chrome Mobile 32

Reproduce the error
http://jsfiddle.net/scheffield/55Skr/

Related issues
I might be wrong, but this issue looks like it has the same reason: #5307

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0