Closed
Description
This affects both the Vue 2 and 3 version of PrimeVue and can be seen at the showcase by selecting an image file and a text file:
It’s because the row has
<div v-if="isImage(file)">
<img role="presentation" :alt="file.name" :src="file.objectURL" :width="previewWidth" />
</div>
a simple solution would be to do
<div>
<img v-if="isImage(file)" role="presentation" :alt="file.name" :src="file.objectURL" :width="previewWidth" />
</div>
instead, but I guess that would be suboptimal if only non-images are uploaded.
Activity