-
Notifications
You must be signed in to change notification settings - Fork 2.5k
v4.2.2 Style recalculation in a loop cause grid blinking #6561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the note @falsyvalues, Do you have any guesses as to what change might have caused this recalculation? |
I tried recreating that on version 4.2.3 and was unable to. Could you provide a plunker to help me debug as well? |
@mportuga Its somehow connected to |
Result of this construction is always different and our debounce in called every 400ms thats why we see cycles on performance tab. |
…lways triggers `refresh`, not conditionally as designed. We allow `elementWidth` and `elementHeight` call only once per 200ms to prevent from perf degradation. Fixes angular-ui#6561 angular-ui#6499.
ui-grid
in version 4.2.2 is doing some style recalculation (which does not change anything) in a loop which cause blinking whole grid and forcing reflow which is a perf bottleneck.The text was updated successfully, but these errors were encountered: