From 9217d375af696dfc5a372a9d56f51111073591c5 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Wed, 25 Mar 2026 09:53:20 +0100 Subject: [PATCH] fix(NcAppNavigation): also emit `navigation-toggled` on mobile change Signed-off-by: skjnldsv --- src/components/NcAppNavigation/NcAppNavigation.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/NcAppNavigation/NcAppNavigation.vue b/src/components/NcAppNavigation/NcAppNavigation.vue index 04bdfbfa37..55f561de21 100644 --- a/src/components/NcAppNavigation/NcAppNavigation.vue +++ b/src/components/NcAppNavigation/NcAppNavigation.vue @@ -229,13 +229,16 @@ export default { }, watch: { - isMobile() { - this.open = !this.isMobile + isMobile(value) { + this.open = !value this.toggleFocusTrap() }, - open() { + open(value) { this.toggleFocusTrap() + emit('navigation-toggled', { + open: value, + }) }, },