You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
The ng-mouseenter and ng-click events are attached to the initial element that is later converted into a list of elements. The problem is that in IE8 the jquery session attribute is copied from the initial element to each repeated element, and therefore it is the same for each one. As a result, when one of the events is fired for a single element, it is also fired for all of the other elements. This causes IE8 to freeze up and crap out for medium-sized lists (60+ elements).
To fix this, either delegated events or a rewrite of this code needs to be done. I don't really understand why the repeat attribute is used and why the above attributes are attached using jquery...
The text was updated successfully, but these errors were encountered:
Please take a look at comment I have left for #158 . The key is to move some parts from post link function to compile function of directive definition object.
jlfama
pushed a commit
to jlfama/ui-select
that referenced
this issue
Nov 19, 2014
In the following code:
The ng-mouseenter and ng-click events are attached to the initial element that is later converted into a list of elements. The problem is that in IE8 the jquery session attribute is copied from the initial element to each repeated element, and therefore it is the same for each one. As a result, when one of the events is fired for a single element, it is also fired for all of the other elements. This causes IE8 to freeze up and crap out for medium-sized lists (60+ elements).
To fix this, either delegated events or a rewrite of this code needs to be done. I don't really understand why the repeat attribute is used and why the above attributes are attached using jquery...
The text was updated successfully, but these errors were encountered: