Skip to content
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

ui-grid causing too many DOM reflows on IE11 #5855

Open
m0j0nz0r opened this issue Dec 7, 2016 · 1 comment
Open

ui-grid causing too many DOM reflows on IE11 #5855

m0j0nz0r opened this issue Dec 7, 2016 · 1 comment

Comments

@m0j0nz0r
Copy link

m0j0nz0r commented Dec 7, 2016

When a redraw is called for the grid, it calls elementHeight which calls the swap function on the pagination control (even if the controls are disabled by enablePaginationControls: false).

swap then iterates through a list of properties causing a reflow each time.

On IE11 this happens a large number of times effectively stalling the main thread.

There should be no need to call any kind of DOM reads/writes for this if enablePaginationControls == false,

@xjose97x
Copy link

xjose97x commented Dec 8, 2016

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants