fix(editor): catch async caret scroll on mobile Chrome (empty caret + formatting)
With an empty caret, mobile Chrome scrolls the caret into view
asynchronously, after the restore frames → the view still jumped.
keepScroll now watches every scroll event (capture) for 350 ms and
resets it to the user's position; free scrolling after that.
Co-Authored-By: Claude <noreply@…>
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.