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:
Maksim Sukharev 2025-07-02 18:35:25 +02:00 committed by backportbot[bot]
parent d1cc9d78d3
commit 725eda1a53

View file

@ -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,
}
},