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
This doesn't happen on Firefox. Seems Chrome somehow 'smartly' restores the scrollbar position here, which isn't a good idea. Attached patch should fix it.
Steps to repro
editor.setValue(new Array(100).fill('test').join('\n'));
editor.setValue('test');
editor.setValue(new Array(100).fill('test').join('\n'));
Expected results
Editor fully scrolled to the top
Observed results
Scroll bar shows editor scrolled to the bottom, while text seems to be scrolled to the top.
Notes
Could be a recent regression
Screencap
The text was updated successfully, but these errors were encountered: