-
Notifications
You must be signed in to change notification settings - Fork 107
Chrome 56 automatically scrolling to bottom of page #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Happens on version 56, but not on 54, from what we've experienced. |
This is because of Scroll Anchoring. This feature was introduced as experimental in Chrome 51: and set as default in Chrome 56: Also there's a perfect-scrollbar plugin issue, which describes the problem and gives a solution: So the workaround is to set "overflow-anchor: none;" to the parent element, e.g. ui-scroll-viewport if you have it in your template. I think we should add this style-property to the ui-scroll-viewport element programmatically and update a documentation for case when the ui-scroll-viewport directive is not being used... This will be added to v1.6.1 release. Thanks for the report! |
@dhilt, thank you for pointing out this workaround. It is working! |
The fix is in 'master' branch. Waiting for v1.6.1 release... |
I am using chrome Version 69.0.3497.100 (Official Build) (64-bit) |
@vaibhavi3t Can you make sure that you have |
This just started happening to me. I have no idea what overflow-anchor or the viewport element are. How can I fix this? Version 72.0.3626.109 (Official Build) (64-bit) (OS X) |
So do I, my MBP also have this problem with chrome (74.0.3729.131 64-bit OS X) |
Happening to me now Version 76.0.3809.100 |
Definitely can't reproduce it on my macOS Mojave and macOS Sierra with Chrome 76. Is it really happens with, for example, this demo? Or this stackblitz sample? |
Hi,
After updating my Chrome browser I see some weird behavior when scrolling.
The scroll bar is automatically going down to the bottom of the page. I have seen this happening in my own code as well as in a example. https://rawgit.com/angular-ui/ui-scroll/master/demo/scopeDatasource/scopeDatasource.html
See the GIF below. (When the page turns white it is no longer me that is scrolling.)
Seen in Chrome 56.0.2924.87 and 56.0.2924.76.
No problems in FF and IE.
In the release notes of chrome I have found that they have added CSS position: sticky;. This may or may not cause this behavior?
https://developers.google.com/web/updates/2017/01/nic56
The text was updated successfully, but these errors were encountered: