Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[next] fix(NcAppNavigationItem): Fix popper boundary element #5789

Merged
merged 1 commit into from
Aug 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/components/NcAppNavigationItem/NcAppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ export default {

data() {
return {
actionsBoundariesElement: undefined,
editingValue: '',
opened: this.open, // Collapsible state
editingActive: false,
Expand Down Expand Up @@ -660,9 +661,6 @@ export default {
undoButtonAriaLabel() {
return t('Undo changes')
},
actionsBoundariesElement() {
return document.querySelector('#content-vue') || undefined
},
},

watch: {
Expand All @@ -671,6 +669,10 @@ export default {
},
},

mounted() {
this.actionsBoundariesElement = document.querySelector('#content-vue') || undefined
},

methods: {
// sync opened menu state with prop
onMenuToggle(state) {
Expand Down
Loading