Issue metadata
Sign in to add a comment
|
DevTools: Typing in multiline console scrolls to the bottom not the cursor |
||||||||||||||||||||
Issue descriptionVersion: 55 1. Have a large amount of lines in the console prompt 2. Scroll so that you can see the top of the console prompt 3. Add a character in the first line of the console prompt It scrolls to the bottom, and you can't see where you were typing.
,
Dec 10 2016
,
Feb 8 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/60c81ca7fbd73c42c303d4ce65730f802575636c commit 60c81ca7fbd73c42c303d4ce65730f802575636c Author: Erik Luo <luoe@chromium.org> Date: Thu Feb 08 23:58:39 2018 DevTools: do not scroll console to bottom when prompt cursor is visible When messages are visible, the prompt is multiline, and viewport is not scrolled to the bottom, typing used to jump to the bottom. After this CL, it will not. This is better since users can type without jumping. The downside is that, when the cursor is not at the last line of the prompt and a flood of new messages arrive, the incoming messages can push the prompt out of view. While not 100% ideal, users can keep the prompt position fixed by manually dragging the scrollbar to the bottom. Bug: 646056 Change-Id: I2e36000510f853f4b3316db79dce6619e0923133 Reviewed-on: https://chromium-review.googlesource.com/830617 Commit-Queue: Erik Luo <luoe@chromium.org> Reviewed-by: Joel Einbinder <einbinder@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#535579} [modify] https://crrev.com/60c81ca7fbd73c42c303d4ce65730f802575636c/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-viewport-stick-to-bottom-expected.txt [modify] https://crrev.com/60c81ca7fbd73c42c303d4ce65730f802575636c/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-viewport-stick-to-bottom.js [modify] https://crrev.com/60c81ca7fbd73c42c303d4ce65730f802575636c/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
,
May 2 2018
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by l...@chromium.org
, Sep 12 2016