Skip to content

Commit

Permalink
fix(NcAppNavigationItem): Fix popper boundary element
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed May 22, 2024
1 parent 1f29bcf commit 43034e8
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 @@ -629,6 +629,10 @@ export default {
}
},
mounted() {
this.actionsBoundariesElement = document.querySelector('#content-vue') || undefined
},
data() {

Check warning on line 636 in src/components/NcAppNavigationItem/NcAppNavigationItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

The "data" property should be above the "mounted" property on line 632
return {
editingValue: '',
Expand All @@ -641,6 +645,7 @@ export default {
menuOpenLocalValue: false,
focused: false,
collapsible: false,
actionsBoundariesElement: undefined,
}
},
Expand Down Expand Up @@ -673,9 +678,6 @@ export default {
undoButtonAriaLabel() {
return t('Undo changes')
},
actionsBoundariesElement() {
return document.querySelector('#content-vue') || undefined
},
},
watch: {

Check warning on line 683 in src/components/NcAppNavigationItem/NcAppNavigationItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

The "watch" property should be above the "mounted" property on line 632
Expand Down

0 comments on commit 43034e8

Please sign in to comment.