Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons Block: Adjusting vertical alignment makes buttons jump up/down the page. #23087

Closed
paaljoachim opened this issue Jun 11, 2020 · 2 comments
Labels
[Block] Buttons Affects the Buttons Block [Type] Bug An existing feature does not function as intended

Comments

@paaljoachim
Copy link
Contributor

Describe the bug
Adjusting the alignments in the Buttons vertical block makes it jump up or down the page.

Regarding alignment.
It seems like it jumps up and down the page at the same time one clicks the alignment icons.
Buttons-alignment

For instance with alignment (none)
Screen Shot 2020-06-04 at 13 46 54

Then switching to alignment right. Is lower than alignment none.
Screen Shot 2020-06-04 at 13 47 14

To reproduce
Steps to reproduce the behavior:

  1. Add a Buttons Block.
  2. Add some buttons.
  3. Make it vertical.
  4. Change alignments left/center/right.
  5. Notice how changing alignment also makes the block jump up/down the page.

Expected behavior
Changing alignment should keep the Buttons Block evenly on the page. So it does not jump up/down.

Chrome
Twenty Twenty
WP 5.4.2
Gutenberg plugin 8.3

@paaljoachim paaljoachim added [Block] Buttons Affects the Buttons Block [Type] Bug An existing feature does not function as intended labels Jun 11, 2020
@kellychoffman
Copy link
Contributor

@paaljoachim - I'm no longer able to replicate. Can you confirm this is still happening?

@paaljoachim
Copy link
Contributor Author

Hey @kellychoffman

You are right this has changed. The Buttons block has been modified since I made this issue.
Thank you for noticing! Closing the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Buttons Affects the Buttons Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants