We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16468ef commit bfa53dbCopy full SHA for bfa53db
1 file changed
src/components/NcAppNavigation/NcAppNavigation.vue
@@ -215,6 +215,13 @@ onMounted(() => {
215
216
focusTrap = createFocusTrap(appNavigationContainerElement.value!, {
217
allowOutsideClick: true,
218
+ clickOutsideDeactivates: () => {
219
+ if (isMobile.value) {
220
+ focusTrap.deactivate({ returnFocus: false })
221
+ toggleNavigation(false)
222
+ }
223
+ return false
224
+ },
225
fallbackFocus: appNavigationContainerElement.value!,
226
trapStack: getTrapStack(),
227
escapeDeactivates: false,
0 commit comments