fix: Broken keyboard nav with BorderRadius & BoxShadow (#13636)
This commit is contained in:
parent
1de19956e3
commit
be6946773e
|
|
@ -25,7 +25,7 @@ const options = Object.keys(borderRadiusOptions).map((optionKey) => ({
|
|||
key={optionKey}
|
||||
openOnTargetFocus={false}
|
||||
>
|
||||
<button>
|
||||
<button tabIndex={-1}>
|
||||
<div
|
||||
className="w-5 h-5 border-t-2 border-l-2 border-gray-500"
|
||||
style={{ borderTopLeftRadius: borderRadiusOptions[optionKey] }}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const options = Object.keys(boxShadowOptions).map((optionKey) => ({
|
|||
key={optionKey}
|
||||
openOnTargetFocus={false}
|
||||
>
|
||||
<button>
|
||||
<button tabIndex={-1}>
|
||||
<div
|
||||
className="flex items-center justify-center w-5 h-5 bg-white"
|
||||
style={{ boxShadow: boxShadowOptions[optionKey] }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user