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

FileUpload -> thumbnail issue with files other than images. #5625

Open
fotisskal opened this issue Apr 21, 2024 · 0 comments
Open

FileUpload -> thumbnail issue with files other than images. #5625

fotisskal opened this issue Apr 21, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@fotisskal
Copy link

Describe the bug

I am using the FileUpload component (Primevue 3.51.0). I noticed, when I choose files other than images,
the outcome is a bit ugly, regarding the thumbnail of the file.

Screenshot 2024-04-21 at 3 24 13 AM

So the question is: is FileUpload built to support files other than images? In that case, what could I do to hide the thumbnail at least? I could not find anything in the docs that could help me. Or is this a bug?

Reproducer

https://stackblitz.com/edit/primevue-create-vue-issue-template-ghajd8?file=src%2FApp.vue

PrimeVue version

3.51.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

Chrome

Steps to reproduce the behavior

No response

Expected behavior

Either do not show the thumbnail or show a default thumbnail for files other than images.

@fotisskal fotisskal added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant