Gallery block refactor: consider ghosting moving image on drag and drop, and expanding drop zone #30364
Labels
[Block] Gallery
Affects the Gallery Block - used to display groups of images
[Type] Enhancement
A suggestion for improvement.
In normal content editing flow it makes sense not to have a copy of the block remain in place whilst you drag the block to its new location. However when using drag and drop in Gallery not leaving the original block in place whilst you drag can cause unwanted layout shifts. It might be worth considering cloning the block being dragged and leaving the original block in place until such time as the “ghosted” (cloned) block is dropped into its new position. This would avoid the layout shifts.
Also, there is little indication of where the dragged block is going to fit within the columns, it might improve the UX to expand the dropzone as the image is dragged over it to better indicate where the image will be positioned. This could also apply to new images dragged into the gallery.
The text was updated successfully, but these errors were encountered: