vue-filepond icon indicating copy to clipboard operation
vue-filepond copied to clipboard

[Bug] right alignement on data-state="overflow"

Open deguich opened this issue 3 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Have you updated Vue FilePond, FilePond, and all plugins?

  • [x] I have updated FilePond and its plugins

Describe the bug

When a fixed height is set on .filepond--root, dropping multiple files causes a scrollbar to appear on .filepond--list-scroller. That's great but this css rule sets right: 0 :

.filepond--list-scroller[data-state='overflow'] .filepond--list {
    bottom: 0;
    right: 0;
}

It overrides this rule:

.filepond--list {
    left: 0.75em;
    right: 0.75em;
}

As a result, the file previews are no longer centered in the drop box.

Reproduction

Just upload files on a filepond with this css rule :

.filepond--root {
  max-height: 20rem;
}

Environment

- OS: Windows 11
- Browser: Firefox 142.0.1 (64 bits)
- Vue version: 3.4.15

deguich avatar Sep 12 '25 13:09 deguich

Hi, Thanks for the detailed report, I'll look into as soon as possible.

Just wanted to add. I'm currently finishing up the final touches on FilePond v5 so when that is done I might go back and fix some stuff in 4.

rikschennink avatar Sep 15 '25 06:09 rikschennink