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

Indicator in block move mode does not support horizontal layout #54017

Open
t-hamano opened this issue Aug 29, 2023 · 0 comments
Open

Indicator in block move mode does not support horizontal layout #54017

t-hamano opened this issue Aug 29, 2023 · 0 comments
Labels
[Package] Block editor /packages/block-editor [Type] Bug An existing feature does not function as intended

Comments

@t-hamano
Copy link
Contributor

Description

Originally reported in this comment.

Select Move to from the block toolbar and a blue indicator will appear. This indicator can be manipulated using the arrow keys to know where to move the block.

This indicator is correct when the block is in a vertical layout, but in a horizontal layout such as a Row block, it does not correctly indicate where it is to be inserted.

row

I think vertical bars should be shown when in a horizontal layout, like when dragging a block from the block inserter.

dragging-block

Step-by-step reproduction instructions

  • Insert a paragraph block and a Row block with several blocks.
  • Select "Move to" from the Block toolbar for the Paragraph block.
  • Use the arrow keys to enter the Row block.
  • The indicator should appear as a horizontal bar.

Screenshots, screen recording, code snippet

No response

Environment info

No response

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

@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended [Package] Block editor /packages/block-editor labels Aug 29, 2023
@t-hamano t-hamano changed the title Indicator in block move mode does not support row layout Indicator in block move mode does not support horizontal layout Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Block editor /packages/block-editor [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant