"Editor Preferences" and "Keyboard shortcuts" commands don't work #64004
Labels
[Package] Commands
/packages/commands
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
I found that in both the post editor and site editor, running the following two commands did not launch the dialog:
Editor Preferences
Keyboard shortcuts
Both commands launch a modal dialog. This is very strange, but I found that it happens when
StrictMode
is enabled.Namely, the following parts. When I turn off
StrictMode
, these two commands work again.gutenberg/packages/edit-post/src/index.js
Lines 146 to 155 in 41d5ff2
gutenberg/packages/edit-site/src/index.js
Lines 101 to 105 in 41d5ff2
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
eccfc1659f774e00adae86d1027dbe80.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: