Page MenuHomePhabricator

Scribunto CodeEditor bounces a page scroll
Closed, DeclinedPublicBUG REPORT

Description

Steps to Reproduce:
Go to edit mode in a module, https://ru.wikipedia.org/wiki/Модуль:Песочница/Carn/Frame for example.
Place the top edge of the editor textbox including buttons near the top of the browser window.
Activate CodeEditor with a button <> in the left top corner, so line numbers appear.
Move text cursor around a bit with keyboard arrows.

Actual Results: the whole page begins to jump up and down a bit.

CodeEditor.gif (277×160 px, 750 KB)

Expected Results: the page should not twitch jerkily.

Event Timeline

Aklapper removed a subscriber: CodeEditor.

Which browser(s) and browser version(s) has this been tested with, and does this happen with all browsers?

Google Chrome Version 83.0.4103.106
json profile from the console:

If you need any more data from the console, I am ready to provide.

Using IE11 in similar conditions does not lead to this error.

I get this error quite often, but not every time in the described conditions, as I understand it for other users, it also happens, but perhaps less often.

I attach a performance profile with built-in screenshots that you can upload to DevTools and see it.

When the cursor moves, only the following parameters change:
ace_layer ace_cursor-layer ace_hidden-cursors
ace_layer ace_cursor-layer ace_animate-blinking

the jump itself lasts about 100ms before it bounces back

I cannot reproduce this in Chromium 88. Does this still happen in Chrome 89 or 88?

Aklapper changed the task status from Open to Stalled.May 13 2021, 12:50 PM

Can anyone still reproduce? See my previous comment.

Unfortunately closing this Phabricator task as no further information has been provided.

@Carn: After you have provided the information asked for and if this still happens, please set the status of this task back to "Open" via the Add Action...Change Status dropdown. Thanks!