Gallery block refactor: warning about invalid file types is not consistant #29997
Labels
[Block] Gallery
Affects the Gallery Block - used to display groups of images
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
With gallery block refactor a user notification about uploading invalid file types is shown when trying to add invalid types to a gallery with Images, but not when dragging into an empty gallery
Step-by-step reproduction instructions
Check out the Gallery block refactor PR
Add an empty gallery
Drag a PDF file onto media placeholder - nothing happens
Add some images to the gallery
Drag a pdf again - snackbar shown about all files needing to be image formats
Expected behaviour
User notification should be shown whenever invalid files dragged and dropped.
The message should probably be the same colour and location and all instances as well - the black snackbar bottom right is not very visible.
Screenshots or screen recording (optional)
The text was updated successfully, but these errors were encountered: