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 was archived by the owner on Dec 19, 2024. It is now read-only.
In attached we remember if the element is RTL or not:
this._isRTL = window.getComputedStyle(this).direction == 'rtl';
Even though this is designed as too avoid having to make recurrent call to getComputedStyle attached can be called again when moving the element around in the dom, performing an unneeded calculation/layout.
In our case the performance hit actually shows when moving an item around having 40 subitems which all get "attached".
In attached we remember if the element is RTL or not:
this._isRTL = window.getComputedStyle(this).direction == 'rtl';
Even though this is designed as too avoid having to make recurrent call to getComputedStyle attached can be called again when moving the element around in the dom, performing an unneeded calculation/layout.
In our case the performance hit actually shows when moving an item around having 40 subitems which all get "attached".