Stackable icon indicating copy to clipboard operation
Stackable copied to clipboard

[WP-6.0 New Feature] Stackable blocks should be vertically center aligned if inside a Group/Row/Stack

Open andeng1106 opened this issue 3 years ago • 1 comments

Describe the bug Stackable blocks should be vertically center aligned if inside a Group/Row/Stack.

What's currently happening: There's a bug that if you add two or more blocks and add it inside a Row, the first and next block's alignment looks like it's Align Top even though it's not set in the Inspector but the last block looks okay.

What should happen: Stackable blocks should be vertically center aligned if inside a Group/Row/Stack

To Reproduce Steps to reproduce the behavior:

  1. Add a new page
  2. Add these three (3) stackable blocks:
    • 1 subtitle
    • 1 text
    • 1 heading OR
  • add two headings
  1. Select the blocks created
  2. In the Toolbar, click Group or Row or Stack
    • Add two Rows: one for the 3 blocks, one for the two headings
  3. Click Row again since the issue is more noticeable here
  4. Check if all blocks aren't aligned to center vertically (only the last block)

Expected behavior Stackable blocks should be vertically center aligned if inside a Group/Row/Stack.

Screenshots

https://user-images.githubusercontent.com/103395655/170006558-7436b799-048f-445f-9a75-886a13098164.mp4

andeng1106 avatar May 24 '22 10:05 andeng1106

@bfintal Issue still exists on my end image

andeng1106 avatar Aug 05 '22 02:08 andeng1106