angular-ui/ui-grid

Use css flexbox to resize viewport, instead of watching gridwidth and gridheight

Open

#5154 aperta il 22 feb 2016

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wanted

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Grid resize is very slow, and it doesn't give a good image to people using the grid. A way to reduce a lot of overload by removing watches is to change all resize logic to css flexbox by replacing most/all ng-style tags (very slow). This change will also help to activate again the scrollbars.AUTO flag which is the best option for scrollbars (as it removes the need of coding this checking on ui-grid controllers).

Guida contributor