oria / gridx

Just another powerful Dojo grid
Other
162 stars 77 forks source link

Scrolling up in Chrome scrolls back down #407

Open ghost opened 7 years ago

ghost commented 7 years ago

You can see this in the demo (http://oria.github.io/gridx/demo.html) when you view it in Chrome. Steps to reproduce: -Scroll down for a bit, around halfway is more than enough. -Select a cell. -Scroll up using your mousewheel. -Once it's scrolled the size of buffSize, it scrolls back down again; the selected cell comes back into view.

ghost commented 7 years ago

It appears to be caused by scroll anchoring. If I disable 'Scroll Anchoring' in chrome://flags it works just fine.

scosmaa commented 7 years ago

You can find more informations here: https://blog.chromium.org/2017/04/scroll-anchoring-for-web-developers.html

Using overflow-anchor: none you can disable this functionality using CSS