Skip to content

Commit 51cc2a3

Browse files
uzirthapaclaude
andcommitted
fix: Use inset outline-offset so focus ring is visible inside overflow:hidden parent
The stacked layout content area has overflow:hidden, which clips outlines rendered outside the element box. Using a negative outline-offset renders the focus ring inside the element, making it visible. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c594808 commit 51cc2a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/component/src/Activity/StackedLayout.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
outline: var(--webchat__border-width--transcript-visual-keyboard-indicator)
6262
var(--webchat__border-style--transcript-visual-keyboard-indicator)
6363
var(--webchat__color--transcript-visual-keyboard-indicator);
64+
outline-offset: calc(-1 * var(--webchat__border-width--transcript-visual-keyboard-indicator));
6465
}
6566
}
6667

0 commit comments

Comments
 (0)