From 43034e8ee4ffb270ee6f1361eea177819bcc84ff Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 22 May 2024 21:02:13 +0200 Subject: [PATCH] fix(NcAppNavigationItem): Fix popper boundary element Signed-off-by: Christoph Wurst --- .../NcAppNavigationItem/NcAppNavigationItem.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/NcAppNavigationItem/NcAppNavigationItem.vue b/src/components/NcAppNavigationItem/NcAppNavigationItem.vue index 674c038fec..7027f7932b 100644 --- a/src/components/NcAppNavigationItem/NcAppNavigationItem.vue +++ b/src/components/NcAppNavigationItem/NcAppNavigationItem.vue @@ -629,6 +629,10 @@ export default { } }, + mounted() { + this.actionsBoundariesElement = document.querySelector('#content-vue') || undefined + }, + data() { return { editingValue: '', @@ -641,6 +645,7 @@ export default { menuOpenLocalValue: false, focused: false, collapsible: false, + actionsBoundariesElement: undefined, } }, @@ -673,9 +678,6 @@ export default { undoButtonAriaLabel() { return t('Undo changes') }, - actionsBoundariesElement() { - return document.querySelector('#content-vue') || undefined - }, }, watch: {