Changeset 2d596cf in Klonkt for src/views/shell.ejs

Timestamp:
06/19/2026 12:14:21 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
859bace0
Parents:
f8e8f9e
Message:

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.