Fix create worktree focus ring clipping (#4940)

This commit is contained in:
Neil 2026-06-08 20:31:40 -07:00 committed by GitHub
parent 1884b5c206
commit 85a5dc0a06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -233,7 +233,10 @@ function QuickTabBody({
</DialogHeader>
<NewWorkspaceComposerCard
contextualTourSource={modalData.contextualTourSource}
containerClassName="min-h-0 flex-1 overflow-y-auto pr-1 scrollbar-sleek"
// Why: the scroll container clips children, while Orca's standard
// field focus ring paints 3px outside the control. Inset both sides so
// keyboard focus stays fully visible at the dialog edges.
containerClassName="min-h-0 flex-1 overflow-y-auto px-1 scrollbar-sleek"
composerRef={composerRef}
onComposerNodeChange={onComposerNodeChange}
nameInputRef={nameInputRef}