Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap4 Collaspse Component with media preview not working well #30

Open
jgnan opened this issue May 5, 2022 · 0 comments
Open

Bootstrap4 Collaspse Component with media preview not working well #30

jgnan opened this issue May 5, 2022 · 0 comments

Comments

@jgnan
Copy link

jgnan commented May 5, 2022

Hi,

I found if I use Bootstrap4 Collapse component with the latest FilePond(4.40.3) and media preview plugin(1.0.11), using no matter the files parameter of the FilePond's constructor or addFiles/addFile method, it will show nothing in the preview area until the collapse component shown the FilePond widget. But actually after my research it do added the files, as the file input element is created within the widget.

To redo this, just using the official media preview demo with bootstrap4 Collapse, and draw the widget within one collapsed tag, set some media file to it, you can reproduce the issue.

I'd already find a work around to init the widget only when the collapse show, so just to inform you about this issue, it is not a serious problem to me. Hope can make media preview better.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant