-->

Angular UI Grid Scroll Error

2019-03-17 08:18发布

问题:

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.