angular-ui/ui-grid
Vedi su GitHubcolumn resizing when filtering creates new set of comments in HTML DOM on each key pressed
Open
#4672 aperta il 11 nov 2015
help wantedseverity: performance
Metriche repository
- Star
- (5395 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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