You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comment by njx Wednesday Jun 12, 2013 at 00:52 GMT
The behavior appears to be due to CodeMirror, but I can't quite trace where the scrolling is happening. When clicking on the scrollbar, CodeMirror tries to re-focus the hidden input area (which then leads to the editor refocusing as well). But I can't figure out exactly how that's causing the scroll, as none of the CodeMirror scrollInto...() functions seem to be getting called. I'm thinking that refocusing the hidden input field (which I think is positioned at the cursor location) is making the browser think it should scroll that hidden field into view. I'm not sure why the same issue doesn't occur with the main editor though.
Issue by lkcampbell
Wednesday May 01, 2013 at 19:24 GMT
Originally opened as adobe/brackets#3696
OS: Windows 7
Build: sprint 24 development build 0.24.0-0 (master 58e693b85)
Repro Steps:
Observed Behavior:
The Inline Editor jumps back to the top of its code the moment the mouse clicks on the horizontal bar.
Expected Behavior:
The Inline Editor should scroll left and right without a jump so the long comment can be read.
Workaround:
Click on the last line of inline code, resetting the cursor position in the Inline Editor, then use the horizontal scrolling.
The text was updated successfully, but these errors were encountered: