mirror of
https://github.com/nextcloud/server.git
synced 2026-05-19 16:39:59 -04:00
Merge pull request #47878 from nextcloud/backport/47848/stable30
This commit is contained in:
commit
f2bdd06c4f
3 changed files with 22 additions and 3 deletions
|
|
@ -218,6 +218,25 @@ export default defineComponent({
|
|||
this.resetState()
|
||||
}
|
||||
},
|
||||
|
||||
openedMenu() {
|
||||
if (this.openedMenu === false) {
|
||||
// TODO: This timeout can be removed once `close` event only triggers after the transition
|
||||
// ref: https://github.com/nextcloud-libraries/nextcloud-vue/pull/6065
|
||||
window.setTimeout(() => {
|
||||
if (this.openedMenu) {
|
||||
// was reopened while the animation run
|
||||
return
|
||||
}
|
||||
// Reset any right menu position potentially set
|
||||
const root = document.getElementById('app-content-vue')
|
||||
if (root !== null) {
|
||||
root.style.removeProperty('--mouse-pos-x')
|
||||
root.style.removeProperty('--mouse-pos-y')
|
||||
}
|
||||
}, 300)
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue