We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6124b36 + bfa53db commit 08100afCopy full SHA for 08100af
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