Chromium Code Reviews
DescriptionDevTools: clicking in console messages should not jump to bottom
ConsolePrompt's moveCaretToEndOfPrompt() works by setting the CodeMirror
editor's selection to the end. After a recent CodeMirror roll, doing so now
scrolls the editor into view.
This change in behavior led to an error where expanding an object in console
would jump the viewport to bottom. This CL only focuses the prompt without
moving the cursor, in some cases.
NOTRY=true
NOPRESUBMIT=true
BUG=706128
Review-Url: https://codereview.chromium.org/2840663002
Cr-Commit-Position: refs/heads/master@{#468009}
(cherry picked from commit c5213f9bd6b6e6e95f40852b56ef62f1307c94ee)
Review-Url: https://codereview.chromium.org/2853053002
Cr-Commit-Position: refs/branch-heads/3071@{#331}
Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641}
Committed: https://chromium.googlesource.com/chromium/src/+/0eefdccfe7b90d093875ebda910a72fbb182b6b8
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|
|||||||||||||||||||||||||||||||||||||