Skip to content

Commit 40de0a7

Browse files
authored
Merge pull request #6637 from nextcloud-libraries/backport/6636/next
[next] fix(focus-trap): provide HTMLElement as fallbackFocus
2 parents 46d1bf2 + 2e761b3 commit 40de0a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/NcAppSidebar/NcAppSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ export default {
10081008
document.querySelector('#header'),
10091009
], {
10101010
allowOutsideClick: true,
1011-
fallbackFocus: this.$refs.closeButton,
1011+
fallbackFocus: this.$refs.closeButton.$el,
10121012
trapStack: getTrapStack(),
10131013
escapeDeactivates: false,
10141014
})

0 commit comments

Comments
 (0)