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
Using $.is(':visible') has proven to be considerably slow when applied to a significant number of objects. Re-factor where possible as css rules so is not executed inside loops. We suspect it traverses the DOM each time it is executed to find if the element and its parents are part of subset of elements in the DOM (visible ones). An example of this situation is the code which generates d3 plots. The problem seems to be significantly worse with firefox.
The text was updated successfully, but these errors were encountered:
Using $.is(':visible') has proven to be considerably slow when applied to a significant number of objects. Re-factor where possible as css rules so is not executed inside loops. We suspect it traverses the DOM each time it is executed to find if the element and its parents are part of subset of elements in the DOM (visible ones). An example of this situation is the code which generates d3 plots. The problem seems to be significantly worse with firefox.
The text was updated successfully, but these errors were encountered: