angular-ui/ui-grid

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

Open

#4.672 aberto em 11 de nov. de 2015

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
help wantedseverity: performance

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador