angular-ui/ui-grid

Keeps scrollbar space in the header when you zoom out the page

Open

#6,071 创建于 2017年3月13日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)JavaScript (5,395 star) (2,496 fork)batch import
good first issue

描述

I'm having a problem using ui-grid.

On my 100% zoom page, a vertical scrollbar appears. When I zoom the page to 90%, even with all the records within the grid-content space, the scrollbar spacing stays in the header.

In my code the config is enableVerticalScrollbar = 1. I tried to control the scrollbar presentation to solve the problem, however when I remove the scrollbar dynamically (enableVerticalScrollbar = 0) the last header column is not loaded correctly. I tried to put enableVerticalScrollbar = 2, but it also don't work correctly and I see isn't recommended.

Zoom 100%: grid_100

Zoom 90%: grid_90

  • The colunm "Estabelecimento" is fixed on the right.

Any suggestions on how I can remove this scrollbar space?

Thank you!

贡献者指南