angular-ui/ui-grid
在 GitHub 查看Use css flexbox to resize viewport, instead of watching gridwidth and gridheight
Open
#5,154 建立於 2016年2月22日
help wanted
倉庫指標
- Star
- (5,395 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
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).