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

[WP 6.4] If Stackable is activated and used command palette while a block is selected, it causes an error on editor #2941

Closed
andeng1106 opened this issue Oct 20, 2023 · 2 comments
Assignees
Labels
Bug wait for Gutenberg This issue is related to a Gutenberg issue, wait for the fix in Gutenberg before fixing this bug Something isn't working

Comments

@andeng1106
Copy link

Describe the bug

  • This issue happens only on editor
  • This issue applies for both post / page editor & site editor
  • Issue happens whether a native or stackable block is selected
  • This issue happens if Stackable is activated
  • This issue is related to WP 6.4's Command Palette improvements (issue doesn't happen on WP version 6.3)

Error log:

Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Dl (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:96134)
    at e (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:45699)
    at fr (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:54784)
    at dr (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:54941)
    at js (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:122633)
    at wl (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88659)
    at bl (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88587)
    at yl (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88450)
    at il (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85274)
    at fl (http://localhost:10024/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85661)

To Reproduce
Steps to reproduce the behavior:
For Post / Page Editor

  1. Add a new page / post
  2. Add any native or Stackable block
  3. Select the block
  4. Open command palette (CTRL+K for Windows, ⌘+K on Mac)
  5. Try typing on the field
  6. See that the editor causes an error

For Site Editor

  1. Go to Appearance > Editor
  2. Edit a template e.g. Home
  3. Add any native or Stackable block
  4. Select the block
  5. Open command palette (CTRL+K for Windows, ⌘+K on Mac)
  6. Try typing on the field
  7. See that it goes to a blank screen

Expected behavior
If Stackable is activated and used command palette while a block is selected, it should not cause an error or blank screen for editor

Screenshots
Post / Page Editor

Screen.Recording.2023-10-20.at.10.59.48.AM.mov

Site Editor

Screen.Recording.2023-10-20.at.11.00.46.AM.mov
@andeng1106 andeng1106 added the bug Something isn't working label Oct 20, 2023
@andeng1106 andeng1106 changed the title [WP 6.4] If Stackable is activated and used command palette while a block is selected, it causes an error for editor [WP 6.4] If Stackable is activated and used command palette while a block is selected, it causes an error on editor Oct 20, 2023
@bfintal
Copy link
Contributor

bfintal commented Oct 27, 2023

After investigation, it looks like an issue in Gutenberg since it also happens without Stackable. I've filed it in WordPress/gutenberg#55668

@bfintal bfintal added the Bug wait for Gutenberg This issue is related to a Gutenberg issue, wait for the fix in Gutenberg before fixing this label Oct 27, 2023
@bfintal
Copy link
Contributor

bfintal commented Oct 28, 2023

The issue has been fixed in Gutenberg already

@bfintal bfintal closed this as completed Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug wait for Gutenberg This issue is related to a Gutenberg issue, wait for the fix in Gutenberg before fixing this bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants