Skip to content

Commit

Permalink
files: fix virtual list will-change value
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
  • Loading branch information
pulsejet committed Oct 19, 2023
1 parent f4e3f09 commit 5b91fb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,12 @@ export default Vue.extend({
display: block;
overflow: auto;
height: 100%;
will-change: scroll-position;

&::v-deep {
// Table head, body and footer
tbody {
will-change: scroll-position, padding;
will-change: padding;
contain: layout paint style;
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 5b91fb1

Please sign in to comment.