angular-ui/ui-grid

column resizing when filtering creates new set of comments in HTML DOM on each key pressed

Open

#4.672 geöffnet am 11. Nov. 2015

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
help wantedseverity: performance

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

This plunk: http://plnkr.co/edit/vMaDCAbJMc2nSC59qVkT

Try filtering Gender column... Inspect DOM in Chrome (for example) under div role="columnheader" of that column, a lot of HTML comments are added, like this <!-- ngIf: grid.options.enableColumnResizing -->

On each keystroke, a new set of comments is added.

DOM manipulation such as this slows browsers

Contributor Guide