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

Dragging the navigation block causes errors #30743

Closed
JustinyAhin opened this issue Apr 12, 2021 · 4 comments
Closed

Dragging the navigation block causes errors #30743

JustinyAhin opened this issue Apr 12, 2021 · 4 comments
Labels
[Block] Navigation Affects the Navigation Block [Feature] Drag and Drop Drag and drop functionality when working with blocks [Type] Bug An existing feature does not function as intended

Comments

@JustinyAhin
Copy link
Member

This was reported by a user during a contributor day at Yoast on April 9.

Description

Dragging the navigation block around the editor causes errors

Step-by-step reproduction instructions

  1. Create a new page / post
  2. Add a navigation block and menu items
  3. Add others blocks as paragraphs
  4. Try to drag the navigation block to another location

Expected behaviour

The block should be in the new location without errors

Actual behaviour

The block is in the new location with this error message : This block has encountered an error and can not be previewed.

Screenshots or screen recording (optional)

CleanShot.2021-04-12.at.13.59.08.mp4

WordPress information

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

Device information

  • Device: MacBook Pro
  • Operating system: macOS 11.3
  • Browser: Firefox Developer Edition 88.0b9 (64 bits)
@JustinyAhin JustinyAhin added [Type] Bug An existing feature does not function as intended [Feature] Drag and Drop Drag and drop functionality when working with blocks [Block] Navigation Affects the Navigation Block labels Apr 12, 2021
@jasmussen
Copy link
Contributor

CC: @talldan @vcanales does this ring any bells? I think we encountered something similar recently with submenus.

Thank you for the ticket!

@talldan
Copy link
Contributor

talldan commented Apr 13, 2021

I can't reproduce it, it worked fine for me (Chrome and Firefox, Mac OS).

Would be good to get some more specific steps to reproduce. Maybe if you can share the post content @JustinyAhin.

@talldan
Copy link
Contributor

talldan commented Apr 13, 2021

Ah, the fix only went into 10.4, so I think it's the same issue - #30311

I'll close, but we can reopen if this can be reproduced in 10.4.

@talldan talldan closed this as completed Apr 13, 2021
@jasmussen
Copy link
Contributor

Thank you for looking Dan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Feature] Drag and Drop Drag and drop functionality when working with blocks [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants