godaddy-wordpress / godaddy-wordpress/coblocks

ISBAT use size controls with Offset Gallery block

Open
#2,296 3 comments 0 reactions 0 assignees View on GitHub
[Priority] Low [Type] Bug
Dominant language
JavaScript
Stars
794
Forks
142
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug:

The Offset Gallery has image size controls that no longer seem to work. It is not clear when or why this feature broke but I have a feeling that it is related to the introduction of `GutterControls` component. Let's see if we can figure out how long this has been broken.

### To reproduce:

1. Go to Editor and add the Offset Gallery block.
2. Add images to the Offset Gallery block.
3. Use size controls in the block sidebar.
4. Notice how the size control does not impact the gallery.

### Expected behavior:

Expect controls to have an effect. See the Carousel gallery for an example of what the controls should do.

### Screenshots:

![OffsetGallerySizeControls](https://user-images.githubusercontent.com/30462574/156066802-09b3bc2c-07cc-4c56-b805-7e9a688e9538.gif)

### Isolating the problem:

- [x] This bug happens with no other plugins activated
- [x] This bug happens with a default WordPress theme active
- [x] This bug happens **without** the Gutenberg plugin active
- [x] I can reproduce this bug consistently using the steps above

### WordPress version:

5.9.1

### Gutenberg version:

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.