ember-collection icon indicating copy to clipboard operation
ember-collection copied to clipboard

Scroll drift in Chrome when zoomed in

Open dfreeman opened this issue 9 years ago • 3 comments

A fun one! Thanks to this Chromium bug, in combination with these parseInts, you can end up in a situation where ember-collection slowly scrolls upwards with no user input.

To reproduce, take a look at the scroll position demo in Chrome, zoom in to 110%, and scroll down a bit.

If you land on anything other than a nice round number, you'll end up in a feedback loop between the parseInt truncation in the addon code and the rounding glitch in the browser that inexorably drags you back to the top of the collection.

dfreeman avatar Feb 22 '16 15:02 dfreeman

Any updates on this? Seems like the fix is to remove the parseInts..

drourke avatar Mar 10 '16 20:03 drourke

The problem with removing the parseInts is right now I think that would break the layouts since layout-bin-packer doesn't deal w/ floating point numbers... but I guess it could. This needs more investigation.

raytiley avatar Mar 28 '16 17:03 raytiley

This problem still happen in Microsoft Edge browser when page is zoomed in or zoomed out. Is there any plan to fix it?

candunaj avatar Aug 24 '20 16:08 candunaj