a8m / a8m/angular-filter

Filters on ng-repeat "go crazy" with ng-mouse*

Abierto
#70 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
2.9k
Forks
319
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.