mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 15:45:38 -04:00
fix(files): provide boundaries for FileListTableHeaderActions element
- default boundaries element is 'content-vue', which includes sidebar Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
parent
d1cc9d78d3
commit
725eda1a53
1 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
<div class="files-list__column files-list__row-actions-batch" data-cy-files-list-selection-actions>
|
||||
<NcActions ref="actionsMenu"
|
||||
container="#app-content-vue"
|
||||
:boundaries-element="boundariesElement"
|
||||
:disabled="!!loading || areSomeNodesLoading"
|
||||
:force-name="true"
|
||||
:inline="enabledInlineActions.length"
|
||||
|
|
@ -123,6 +124,8 @@ export default defineComponent({
|
|||
const fileListWidth = useFileListWidth()
|
||||
const { directory } = useRouteParameters()
|
||||
|
||||
const boundariesElement = document.getElementById('app-content-vue')
|
||||
|
||||
return {
|
||||
directory,
|
||||
fileListWidth,
|
||||
|
|
@ -130,6 +133,8 @@ export default defineComponent({
|
|||
actionsMenuStore,
|
||||
filesStore,
|
||||
selectionStore,
|
||||
|
||||
boundariesElement,
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue