Skip to content

Commit 481523e

Browse files
authoredFeb 4, 2025··
fix: treat summary as focusable (#1163)
1 parent 4f882e6 commit 481523e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/utils/focus/selector.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ export const FOCUSABLE_SELECTOR = [
77
'[contenteditable="true"]',
88
'a[href]',
99
'[tabindex]:not([disabled])',
10+
'details > summary',
1011
].join(', ')

0 commit comments

Comments
 (0)
Please sign in to comment.