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.

bug(ngAria): ng-click evals attrs.ngClick without passing locals #10442

Closed
@kentcdodds

Description

@kentcdodds

Here's an example of the bug. What's happening is ngAria has this line:

scope.$eval(attr.ngClick);

It should probably be:

scope.$eval(attr.ngClick, {$event: event});

Can't think of anything else that is an expected expression local that isn't on the scope, but if there are, we'd need to make sure those made it in there as well...

pinging @marcysutton on this one.

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