Skip to content

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

Open
@m0j0nz0r

Description

@m0j0nz0r

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,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions