angular-ui/ui-grid

ui-grid pinning bug when position: absolute or fixed

Open

#2,899 创建于 2015年3月3日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)JavaScript (5,395 star) (2,496 fork)batch import
help wantedtype: bug

描述

I want to have a grid with 100% widht and height of remaining size of the screen. I found a solution for ng-grid: https://github.com/angular-ui/ng-grid/issues/472#issuecomment-19050780 If works also for ui-grid but when I tried to pin any column all breaking down.

http://plnkr.co/edit/pXwgNrAB8L42OKwnrYRN?p=preview

As you see layout is fully broken. Removing position: absolute from css fixing the issue but also height of the grid become not 100%.

This bug was already been mentioned in #2302 but opener closed it for some reason.

Still can't find a working solution for full-sized grid (height is 100% of remaining screen space).

贡献者指南