Closed NielsLeenheer closed 4 years ago
When grid is enabled using the imagePreviewTransparencyIndicator property, it does not show up. The reason is an error in CSS file.
imagePreviewTransparencyIndicator
The CSS file contains the following selector: .filepond--image-preview[data-transparency-indicator='grid'] img, .filepond--image-preview[data-transparency-indicator='grid'] canvas: https://github.com/pqina/filepond-plugin-image-preview/blob/master/src/css/image-preview.scss#L17
.filepond--image-preview[data-transparency-indicator='grid'] img, .filepond--image-preview[data-transparency-indicator='grid'] canvas
So it assumes the dataset is on the filepond--image-preview element. But actually, the dataset is on the filepond--image-clip element, a child element of the filepond--image-preview element.
filepond--image-preview
filepond--image-clip
Thanks for reporting @NielsLeenheer, fixed in 4.6.2 👍
4.6.2
When grid is enabled using the
imagePreviewTransparencyIndicator
property, it does not show up. The reason is an error in CSS file.The CSS file contains the following selector:
.filepond--image-preview[data-transparency-indicator='grid'] img, .filepond--image-preview[data-transparency-indicator='grid'] canvas
: https://github.com/pqina/filepond-plugin-image-preview/blob/master/src/css/image-preview.scss#L17So it assumes the dataset is on the
filepond--image-preview
element. But actually, the dataset is on thefilepond--image-clip
element, a child element of thefilepond--image-preview
element.