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

List View: unable to move Group blocks in between other group blocks on top level #46678

Closed
luminuu opened this issue Dec 20, 2022 · 1 comment · Fixed by #49390
Closed

List View: unable to move Group blocks in between other group blocks on top level #46678

luminuu opened this issue Dec 20, 2022 · 1 comment · Fixed by #49390
Assignees
Labels
[Block] Group Affects the Group Block [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Bug An existing feature does not function as intended

Comments

@luminuu
Copy link
Member

luminuu commented Dec 20, 2022

Description

When you have multiple Group blocks on the top level, it's impossible to move one of the Group blocks in between other blocks. You can put it at the top of the list but not at the bottom. In between other blocks, it is always moved into the block above. The blue line to full length, indicating the position where the dragged block is going to be positioned only works to the top level at the position the dragged block is currently at.

This may be related to #43881 but I noticed this reproduceable behaviour specifically for the group block.

Step-by-step reproduction instructions

  1. Open up a page with multiple group blocks on the top level, or create one. Or add multiple patterns.
  2. Open the list view.
  3. Try to move one of the group blocks to another position that is not the top.

Screenshots, screen recording, code snippet

CleanShot.2022-12-20.at.16.06.11-converted-converted.mp4

Environment info

  • WordPress: 6.1.1
  • Gutenberg: 14.7.3
  • Extendable theme 1.2.0

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 [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Block] Group Affects the Group Block labels Dec 21, 2022
@andrewserong
Copy link
Contributor

Thanks for opening this issue! I have a proposed fix for this over in #49390

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Group Affects the Group Block [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants