Skip to content

Unable to drag template part out of Group Block to top of editor #29879

Description

@annezazu

Description

When removing template parts and re-adding, I ran into some very strange issues resulting in me being unable to drag a template part out of a Group block to the top of the page in order to set full width. Apologies for this being difficult to name and describe. It's a pretty weird bug 😅

Step-by-step reproduction instructions

  1. Setup a FSE ready set using TT1 Blocks.
  2. Head to a template that has a query loop underneath the header template part (Index template for example) or add in a query loop below a template part.
  3. Remove the header template part (might need to use list view).
  4. Add a template part block in once more and notice that either it gets constrained within the query block resulting in being unable to set wide width/move it outside of the group block OR a strange duplication of the + functionality.

Expected behaviour

I should be able to drag or move a template part to the top of the Site Editing experience.

Actual behaviour

I'm unable to move the template part out of the Group block that the query block lives in. I also end up with strange duplication of adding in an additional template part if I am able to add a block about the group block.

Screenshots or screen recording (optional)

Unable to drag or move block out of Group block:
https://user-images.githubusercontent.com/26996883/111213565-7e91b900-8596-11eb-8e66-9a85d71a1dae.mov

Duplication of adding in an additional template part:
https://user-images.githubusercontent.com/26996883/111213531-746fba80-8596-11eb-8c17-1090fd4a3527.mov

WordPress information

  • WordPress version: 5.7
  • Gutenberg version: 10.1.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Template PartAffects the Template Parts Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions