Skip to content

Commit 04e93c8

Browse files
committed
fix(ui-buttons): fix focus ring distortion on circle shape buttons
1 parent e3a4c8b commit 04e93c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ui-buttons/src/BaseButton/styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ const generateStyle = (
361361
touchAction: 'manipulation',
362362
// This sets the focus ring's border radius displayed by the `View`
363363
borderRadius: componentTheme.borderRadius,
364+
...shapeVariants[shape!],
364365
// Prevents vertical stretching in flex parents with fixed height
365366
// Avoids background/focus ring distortion
366367
height: 'fit-content',

0 commit comments

Comments
 (0)