-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Block] GalleryAffects the Gallery Block - used to display groups of imagesAffects the Gallery Block - used to display groups of images[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended[Type] FeedbackIssues that relate purely to feedback on a feature that isn't necessarily actionableIssues that relate purely to feedback on a feature that isn't necessarily actionable
Description
Description
With Gutenberg trunk, if you add a value to the block spacing setting in the gallery block, the size of the images change.
Instead of fitting the images inside the columns set in the gallery, the image size is drastically changed and the images are displayed one by one, vertically. The effect is the same no matter the number of columns that are set, or the image size.
Step-by-step reproduction instructions
Test with a theme with support for blockGap.
- Open the block editor
- Add a gallery block with images
- try to use the block spacing setting
Screenshots, screen recording, code snippet
gallery.mp4
Environment info
WordPress 5.9.2
Gutenberg trunk ( at 41325b9)
Chrome, Windows 10, multiple block themes
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] GalleryAffects the Gallery Block - used to display groups of imagesAffects the Gallery Block - used to display groups of images[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended[Type] FeedbackIssues that relate purely to feedback on a feature that isn't necessarily actionableIssues that relate purely to feedback on a feature that isn't necessarily actionable