Angular UI Grid Scroll Error

2019-03-17 08:03发布

I am using ui grid 3.0.6. Until yesterday it was working fine. But there is a problem in Google chrome now.(Version 56.0.2924.87)

When I scroll the grid, or click on scroll down arrow it starts scrolling very fast. Couldn't control the speed. It was working fine and only in Chrome.

Can anyone help?

Thanks in advance.

2条回答
放荡不羁爱自由
2楼-- · 2019-03-17 08:41

Adding this style to my style.css is helped

.ui-grid-viewport {
    overflow-anchor: none;
}
查看更多
兄弟一词,经得起流年.
3楼-- · 2019-03-17 08:49

It's may be related to "Scroll Anchoring" feature, that has been enabled by default in Chrome 56. description of feature

css-property "overflow-anchor: none", should solve this problem.

查看更多
登录 后发表回答