Merge pull request #47207 from nextcloud/fix/sticky-nav-item

This commit is contained in:
John Molakvoæ 2024-08-14 09:34:13 +02:00 committed by GitHub
commit 73c88919ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 4 deletions

View file

@ -10,7 +10,8 @@
<NcAppNavigationSearch v-model="searchQuery" :label="t('files', 'Filter filenames…')" />
</template>
<template #default>
<NcAppNavigationList :aria-label="t('files', 'Views')">
<NcAppNavigationList class="files-navigation__list"
:aria-label="t('files', 'Views')">
<FilesNavigationItem :views="viewMap" />
</NcAppNavigationList>
@ -225,6 +226,10 @@ export default defineComponent({
}
.files-navigation {
&__list {
height: 100%; // Fill all available space for sticky views
}
:deep(.app-navigation__content > ul.app-navigation__list) {
will-change: scroll-position;
}

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long