angular-ui/ui-grid

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

Open

#5,154 opened on Feb 22, 2016

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
help wanted

Description

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).

Contributor guide

Use css flexbox to resize viewport, instead of watching gridwidth and gridheight · angular-ui/ui-grid#5154 | Good First Issue