Navigation: Create new Menu
produces a warning in the console
stating misuse of refs
#68572
Open
3 of 6 tasks
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Creating a new menu from the
Block Panel
of theNavigation
block currently triggers a warning:Function components cannot be given refs
in thedeveloper console
. Ideally, this action should not produce any warnings.I tried searching for existing issues but was not able to find any. If it is felt that this issue is duplicated, please feel free to close it.
Step-by-step reproduction instructions
site-editor
page.Navigation
block.Block Panel
.three dots
.Create new Menu
.Screenshots, screen recording, code snippet
Screen.Recording.2025-01-09.at.6.49.29.PM.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: