New issue
Advanced search Search tips

Issue 854952 link

Starred by 18 users

Issue metadata

Status: WontFix
Owner:
Closed: Dec 4
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



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 description

UserAgent: 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
 

Comment 1 by job.eg...@gmail.com, Jun 21 2018

I've attached the video which describes the bug
scroll.mov
11.1 MB View Download
Labels: Needs-Bisect Needs-Triage-M67
Cc: vamshi.kommuri@chromium.org
Labels: Triaged-ET Needs-Feedback
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.
854952.mp4
3.3 MB View Download
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.

Comment 5 by job.eg...@gmail.com, Jun 25 2018

Hi!

Any news about this issue?


Project Member

Comment 6 by sheriffbot@chromium.org, Jun 25 2018

Labels: -Needs-Feedback
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
Labels: Needs-Feedback
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! 
Issue 854952.mp4
2.0 MB View Download
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.
Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)
Can someone from Google look at this problem more carefully?
Hey guys. What about this issue?

Any news about this issue?
Status: WontFix (was: Assigned)
Minor UX issue.
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