Issue metadata
Sign in to add a comment
|
"overeflow-y: hidden" does not hide scroll when scrolling via JS in mobile emulation
Reported by
job.eg...@gmail.com,
Jun 21 2018
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 YaBrowser/18.4.1.868 Yowser/2.5 Safari/537.36 Steps to reproduce the problem: 1. Open any page which has scroll 2. Open dev tools 3. Switch on mobile emulation 4. Add style "overflow-y:hidden" to body 5. Try to scroll via JS (window.scrollBy(0, 100)) 6. You will see that scroll appears for a while, but then disappears. On desktop version scroll does not appear. On the previous version (65) this problem can not be reproduced. What is the expected behavior? I expect that scroll should not appear on mobile emulation What went wrong? Scroll appears for a while in a mobile emulation Did this work before? Yes 65 Chrome version: 67.0.3396.87 Channel: n/a OS Version: OS X 10.12.6 Flash Version: Shockwave Flash 30.0 r0
,
Jun 21 2018
,
Jun 22 2018
Thanks for filing the issue! Tried checking the issue on reported chrome version 67.0.3396.87 and on 60.0.3112.0 using Mac 10.12.6 with the below mentioned steps. 1. Launched Chrome 2. Inspected the page 3. Opened DevTools-> Switched to mobile emulation 4. In elements -> Added style "overflow-y:hidden" to body 5. Gave window.scrollBy(0, 100) in Console Tried scrolling in the page on reported version, we were able to see vertical scroll bar. For further investigation tried checking in mentioned M60 version, Even in 60.0.3112.0 we were able to see scroll bar. Attaching the screen cast of the same for reference. @Reporter: Could you please have a look at the screen cast and let us know if the issue there in attached version(60.0.3112.0), which helps us to triage this further.
,
Jun 22 2018
There is no such issue in 60 version. Look at your screencast: there is no scrollbar right after scrolling with `window.scrollBy(0, 100)` first time (00:29). On 00:34 after click page was reloaded and style you've added at the beginning was removed. Thats why after that you were able to see the scroll bar again.
,
Jun 25 2018
Hi! Any news about this issue?
,
Jun 25 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 26 2018
Checked as per comment#4 using Mac 10.13.1 with the chrome versions 67.0.3396.87 and 60.0.3112.0 with out refreshing the page. Yet we are able to see scroll bar after giving window.scrollBy(0, 100) in console. Attaching the screen cast of the same. Note: Added style "overflow-y:hidden" to body. @Reporter: Please have a look at the screen cast and let us know if we have missed anything in the process. Thanks!
,
Jun 26 2018
As I can see on latest screencast you are adding style `overflow-y: hidden;` to some div deep inside the page but not to the body.
,
Jun 27 2018
,
Jul 4
Can someone from Google look at this problem more carefully?
,
Jul 19
Hey guys. What about this issue?
,
Aug 14
Any news about this issue?
,
Dec 4
Minor UX issue.
,
Dec 4
This is NOT minor issue for us. We use Chrome in Selenium grid for automatic testing using screenshots and this bug cause tests failure. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by job.eg...@gmail.com
, Jun 21 201811.1 MB
11.1 MB View Download