Skip to content

Prevent loss of cursor position for message editor#10455

Closed
mtsgrd wants to merge 1 commit intomasterfrom
mg-branch-5
Closed

Prevent loss of cursor position for message editor#10455
mtsgrd wants to merge 1 commit intomasterfrom
mg-branch-5

Conversation

@mtsgrd
Copy link
Copy Markdown
Contributor

@mtsgrd mtsgrd commented Sep 26, 2025

When activating a focusable area we also call .focus() on the element
being activated, but it makes sense to prevent that if a child of said
element already has focus. This prevents resetting of cursor positions
inside commit/pr message editors.

When activating a focusable area we also call `.focus()` on the element 
being activated, but it makes sense to prevent that if a child of said 
element already has focus. This prevents resetting of cursor positions 
inside commit/pr message editors.
@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
gitbutler-web Ready Ready Preview Comment Sep 26, 2025 0:23am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant