Filters on ng-repeat "go crazy" with ng-mouse*
Aperta
- Lingua principale
- JavaScript
- Stelle
- 2.9k
- Fork
- 319
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
HTML Mouse events don't work as expected when bound to elements using ng-repeat with filters.
On a MacOSX 10.10 MacbookPro:
- Firefox: events fire apparently "at random" with many mouseenter and few mouseleave.
- Chrome: mouseleave event never fires and mouseenter fires on every mousemove.
Example: http://jsfiddle.net/pfk1v3z9/
Is there any way to avoid this?
I already tried to apply mouse events to an inner div hoping to not trigger the filter on every event with no luck.
ATM I work-arounded the problem grouping on the controller with a $watch on my original collection.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.