We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 728881a commit a2fb110Copy full SHA for a2fb110
src/views/Viewer.vue
@@ -42,6 +42,7 @@
42
:data-handler="handlerId"
43
@close="close"
44
@previous="previous"
45
+ :additional-trap-elements="trapElements"
46
@next="next">
47
<!-- ACTIONS -->
48
<template #actions>
@@ -190,6 +191,8 @@ export default {
190
191
theme: null,
192
root: getRootPath(),
193
handlerId: '',
194
+
195
+ trapElements: [],
196
}
197
},
198
@@ -750,11 +753,13 @@ export default {
750
753
const sidebar = document.querySelector('aside.app-sidebar')
751
754
if (sidebar) {
752
755
this.sidebarWidth = sidebar.offsetWidth
756
+ this.trapElements = [sidebar]
757
758
759
760
handleAppSidebarClose() {
761
this.isSidebarShown = false
762
+ this.trapElements = []
763
764
765
onResize(event) {
0 commit comments