Skip to content

fix: Prevent cursor jumping around when editing alt text#2169

Merged
nikclayton merged 1 commit into
pachli:mainfrom
nikclayton:2064-alt-text-jumping
Mar 10, 2026
Merged

fix: Prevent cursor jumping around when editing alt text#2169
nikclayton merged 1 commit into
pachli:mainfrom
nikclayton:2064-alt-text-jumping

Conversation

@nikclayton

Copy link
Copy Markdown
Contributor

Previous code was vulnerable to a race condition between text being entered and the call to bindDescription. If the user typed alt text quickly the cursor could jump to the start of the line when bindDescription changed the text.

Fixes #2064, #2163

Previous code was vulnerable to a race condition between text being entered
and the call to `bindDescription`. If the user typed alt text quickly the
cursor could jump to the start of the line when `bindDescription` changed
the text.

Fixes pachli#2064, pachli#2163
@nikclayton nikclayton merged commit 51d7dd8 into pachli:main Mar 10, 2026
27 checks passed
@nikclayton nikclayton deleted the 2064-alt-text-jumping branch March 10, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sluggish performance editing alt text

1 participant