Skip to content

Commit

Permalink
Merge pull request #3197 from nextcloud/fix/3187/nav-item-actions-bou…
Browse files Browse the repository at this point in the history
…ndaries-prop-type

Fix NcAppNavigationItem, pass correct boundaries-element NcActions
  • Loading branch information
GretaD committed Sep 8, 2022
2 parents 8fcfe5e + 1a7aef9 commit a7dc6b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/NcAppNavigationItem/NcAppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Just set the `pinned` prop.
ref="actions"
class="app-navigation-entry__actions"
container="#app-navigation-vue"
boundaries-element="#content-vue"
:boundaries-element="actionsBoundariesElement"
:placement="menuPlacement"
:open="menuOpen"
:force-menu="forceMenu"
Expand Down Expand Up @@ -493,6 +493,9 @@ export default {
undoButtonAriaLabel() {
return t('Undo changes')
},
actionsBoundariesElement() {
return document.querySelector('#content-vue') || undefined
},
},
watch: {
Expand Down

0 comments on commit a7dc6b8

Please sign in to comment.