Skip to content

Commit

Permalink
Merge pull request #5632 from nextcloud-libraries/fix/ncappnavigation…
Browse files Browse the repository at this point in the history
…item/popper-boundary-element

fix(NcAppNavigationItem): Fix popper boundary element
  • Loading branch information
ChristophWurst authored Jul 8, 2024
2 parents be3e214 + a30de5b commit e258d13
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/NcAppNavigationItem/NcAppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,10 @@ export default {
}
},
mounted() {
this.actionsBoundariesElement = document.querySelector('#content-vue') || undefined
},
data() {
return {
editingValue: '',
Expand All @@ -621,6 +625,7 @@ export default {
menuOpenLocalValue: false,
focused: false,
collapsible: false,
actionsBoundariesElement: undefined,
}
},
Expand Down Expand Up @@ -653,9 +658,6 @@ export default {
undoButtonAriaLabel() {
return t('Undo changes')
},
actionsBoundariesElement() {
return document.querySelector('#content-vue') || undefined
},
},
watch: {
Expand Down

0 comments on commit e258d13

Please sign in to comment.