Skip to content

Commit a799388

Browse files
committed
[dropdown-read-only] elaborate on focus selector usage
1 parent c959713 commit a799388

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/wonder-blocks-dropdown/src/components/select-opener.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ const styles = StyleSheet.create({
261261
cursor: "pointer",
262262
":focus": {
263263
// Using :focus instead of :focus-visible to ensure the focus ring is
264-
// visible when the button is focused (even when clicked).
264+
// visible when the button is focused (even when clicked). This makes
265+
// the focus behaviour more consistent with the other field components.
265266
...focusStyles.focus[":focus-visible"],
266267
},
267268
":active": {

0 commit comments

Comments
 (0)