angular-ellipsis icon indicating copy to clipboard operation
angular-ellipsis copied to clipboard

Action assigned to data-ellipsis-append-click will be called more than one time

Open AdelRefaat opened this issue 9 years ago • 0 comments

Action assigned to data-ellipsis-append-click will be called more than one time if the element has nested span elements.

<p style="height: 40px" data-ellipsis data-ellipsis-append="more" data-ellipsis-append-click="<SomeAction>" ng-bind-html="<SomeExpression>">
<p>

Suppose that the bound html has span elements.. Now the Action will be called many times as the selector that binds the "ellipsis-append" click event tries to find a "span" (ellipsis-append span) assuming that this is the only span available inside the element.

AdelRefaat avatar Aug 24 '16 01:08 AdelRefaat