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 May 29, 2019. It is now read-only.
After updating the ui-family libraries, the navigation menu based on collapse directive started to flicker at every load. Since my menu data is updated based on an interval, this caused flickers on regular basis. the old collapse directive was working without flickers. the issue is caused by the difference in expand and collapse methods called by the uibCollapse watcher.
the comment in the collapse method says;
// IMPORTANT: The height must be set before adding "collapsing" class.
// Otherwise, the browser attempts to animate from height 0 (in
// collapsing class) to the given height here.
it was taken into account in the old directive (collapse) but not in the new one and for those whose "shouldCollapse" is always false because of the newly resolved menu items will have a flicker effect during expand method call.
The text was updated successfully, but these errors were encountered:
After updating the ui-family libraries, the navigation menu based on collapse directive started to flicker at every load. Since my menu data is updated based on an interval, this caused flickers on regular basis. the old collapse directive was working without flickers. the issue is caused by the difference in expand and collapse methods called by the uibCollapse watcher.
the comment in the collapse method says;
// IMPORTANT: The height must be set before adding "collapsing" class.
// Otherwise, the browser attempts to animate from height 0 (in
// collapsing class) to the given height here.
it was taken into account in the old directive (collapse) but not in the new one and for those whose "shouldCollapse" is always false because of the newly resolved menu items will have a flicker effect during expand method call.
The text was updated successfully, but these errors were encountered: