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

Product Editor: Modal block editor (description field) crashes when Add button is clicked with Gutenberg installed #47560

Closed
5 tasks done
mattsherman opened this issue May 16, 2024 · 0 comments · Fixed by #47561
Assignees
Labels
focus: new product ux revamped product management experience team: Mothra type: bug The issue is a confirmed bug.

Comments

@mattsherman
Copy link
Contributor

mattsherman commented May 16, 2024

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

With the Gutenberg plugin installed (version 18.3.0 or later), the modal block editor (description field) in the new product editor crashes when the + (Add) button is clicked.

Seems to be caused by WordPress/gutenberg#61108

Expected behavior

The + (Add) button brings up the block inserter.

Screenshot 2024-05-16 at 14 13 27

Actual behavior

The modal block editor (in fact, the entire new product editor) crashes, resulting in a blank page.

Screenshot 2024-05-16 at 14 14 23

Steps to reproduce

With a WooCommerce env with the new product editor enabled (WooCommerce > Settings > Advanced > Features > Experimental features), and Gutenberg plugin (version 18.3.0) installed...

  1. Go to Products > Add New
  2. Click on Description > Full Editor to bring up the modal editor
  3. Click on the + (Add) button in the header
  4. Verify that the modal block editor (and new product editor) crashes, resulting in a blank page

WordPress Environment

n/a

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: new product ux revamped product management experience team: Mothra type: bug The issue is a confirmed bug.
Projects
None yet
1 participant