New issue
Advanced search Search tips

Issue 647065 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 624534
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Developer tools: console forces scroll to top

Reported by s...@sethkinast.com, Sep 14 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36

Steps to reproduce the problem:
1. Fill up the console with some lines (http://output.jsbin.com/poxavasuki just logs 100 lines to console)
2. Try to scroll down with the mouse wheel

What is the expected behavior?
Console scrolls

What went wrong?
The console keeps snapping back to the top. Dragging the scroll thumb, using keyboard keys, or clicking in the scroll gutter also don't scroll the page.

I have no extensions enabled.

Did this work before? N/A 

Chrome version: 53.0.2785.101  Channel: n/a
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 22.0 r0

Doesn't seem to be a duplicate of 516760 although the behavior is similar. Using the keyboard pgup / pgdown doesn't work either, unlike that one.
 
scroll.mov
10.2 MB Download

Comment 1 by s...@sethkinast.com, Sep 14 2016

I should also mention that the behavior is the same for the Console tab and the "pop-up" console (the one that appears when you press Escape)
Components: -UI Platform>DevTools>UX
Labels: Needs-Feedback
Tried this with 53.0.2785.116 and didn't notice that. However, I also got the following exception in the Console:

> Uncaught (in promise) DOMException: Only secure origins are allowed (see:
> https://goo.gl/Y0ZkNV).

Are you getting that as well?
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 4 by s...@sethkinast.com, Sep 15 2016

Looks like I do get that error, yes, but it shouldn't be topical to the issue-- I can open the New Tab page and reproduce the issue there too. (I just used the JSBin to easily log to the console.)

OK, I spent some more time digging into it and I believe I've found the cause. chrome://flags/#enable-scroll-anchoring was enabled and it causes this behavior. (I'm not sure how it became enabled, since I'm guessing it's not a default). 

Comment 5 by l...@chromium.org, Sep 16 2016

Cc: skobes@chromium.org
Labels: -Needs-Feedback
Thanks for the report, I can repro the behavior on stable Mac 53.0.2785.116 after turning on scroll anchoring.  It seems to be working correctly in Canary for me.  Perhaps skobes@ has seen this before as well?

There was a significant change to console stickiness that is currently on Beta at the moment.  Both the DevTools console and scroll anchoring try to manage scrolling, and it seems that they are interfering in a bad case here.

Just to be safe OP, could you please verify this on Beta/Canary?  If it's fine there, then stable should receive an update soon with the fix.  Sorry for the inconvenience.

Comment 6 by skobes@chromium.org, Sep 16 2016

Mergedinto: 624534
Status: Duplicate (was: Assigned)

Sign in to add a comment