Skip to content

fix(files): fix list gap at bottom - #47500

Merged
skjnldsv merged 1 commit into
masterfrom
fix/file-list-footer-gap
Aug 27, 2024
Merged

fix(files): fix list gap at bottom#47500
skjnldsv merged 1 commit into
masterfrom
fix/file-list-footer-gap

Conversation

@elzody

Copy link
Copy Markdown
Contributor

Summary

Due to a dynamic CSS property in the VirtualList.vue component, there was extra space after the final file in the list whenever the rich workspace is active. This PR removes the naughty part of the height calculation as specified in the issue

Screenshots

Before

image

After

image

Checklist

@elzodyelzody added bug 3. to review Waiting for reviews labels Aug 26, 2024
@elzodyelzody self-assigned this Aug 26, 2024
@elzody
elzody requested a review from skjnldsv as a code ownerAugust 26, 2024 20:09
@elzody

Copy link
Copy Markdown
ContributorAuthor

/backport to stable30

@elzody

Copy link
Copy Markdown
ContributorAuthor

/backport to stable29

@elzody

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

@skjnldsv

skjnldsv commented Aug 27, 2024

Copy link
Copy Markdown
Member

I guess the calculation of the height changed at some point and we forgot to remove the beforeHeight. 🤔

@elzody have you tested with a few headers ? Like recommendations and text with a readme ?

EDIT: just did, it's perfect! 👍

@skjnldsv

Copy link
Copy Markdown
Member

/compile amend-rebase /

@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 27, 2024
@skjnldsv
skjnldsv enabled auto-merge August 27, 2024 08:43
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux

Copy link
Copy Markdown
Contributor

I guess the calculation of the height changed at some point and we forgot to remove the beforeHeight. 🤔

Last time I touched that logic and copy-pasted but shame on me I did not tested with recommended-files or text installed 🙈

@susnux

Copy link
Copy Markdown
Contributor

@skjnldsv

EDIT: just did, it's perfect! 👍

Did you also test with a fileid in the URL? So that the scrolling still works? Because the scroll position still takes beforeHeight into account.

@elzody

Copy link
Copy Markdown
ContributorAuthor

@susnux I just gave it a whirl, it seems like it still auto-scrolls so the selected file is still visible.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File list footer is to far away from the list

4 participants

@elzody@skjnldsv@susnux@juliusknorr