a8m / a8m/angular-filter

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

オープン
#70 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
2.9k
フォーク
319
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。