Skip to content

Commit 773cb0b

Browse files
VinceMaloneph-fritsche
authored andcommitted
only when direct descendent of details element
1 parent df8ad5a commit 773cb0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/focus/selector.ts

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

0 commit comments

Comments
 (0)