Angular UI Grid Scroll Error

守給你的承諾、 提交于 2020-01-01 01:45:08

问题


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.


回答1:


Adding this style to my style.css is helped

.ui-grid-viewport {
    overflow-anchor: none;
}



回答2:


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.



来源:https://stackoverflow.com/questions/42100246/angular-ui-grid-scroll-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!