We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e99d5fb commit 884d45aCopy full SHA for 884d45a
1 file changed
src/components/NcAppNavigation/NcAppNavigation.vue
@@ -249,6 +249,13 @@ export default {
249
250
this.focusTrap = createFocusTrap(this.$refs.appNavigationContainer, {
251
allowOutsideClick: true,
252
+ clickOutsideDeactivates: () => {
253
+ if (this.isMobile) {
254
+ this.focusTrap.deactivate({ returnFocus: false })
255
+ this.toggleNavigation(false)
256
+ }
257
+ return false
258
+ },
259
fallbackFocus: this.$refs.appNavigationContainer,
260
trapStack: getTrapStack(),
261
escapeDeactivates: false,
0 commit comments