Open BSoDium opened 2 months ago
You could set a fixed styleItemPanelAspectRatio
that will center the image in a box of the given aspect ratio.
Totally agree! This is easily fixable, but I think it could be cool if the bug didn't happen in the first place.
@BSoDium certainly something I'm looking into for v5
Is there an existing issue for this?
Have you updated FilePond and its plugins?
Describe the bug
The edit button overflows the image container when the image is very wide and not high enough displaying on top of the "Upload completed" message. An easy fix could involve displaying that button inline next to the deletion one for exotic sizes such as this one, or setting a minimum height for the container.
Reproduction
Go to https://pqina.nl/filepond/#examples and upload a very wide image (tested with 2616 × 372px), the result can be seen below:
Environment