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

CYS Assembler causes a JS warning: React does not recognize the canEnableZoomOutView prop on a DOM element. #53435

Open
Aljullu opened this issue Dec 4, 2024 · 0 comments
Labels
focus: customize-your-store Issues related to the Customize Your Store onboarding flow. team: Kirigami & Origami WC Store Editing (FSE) type: bug The issue is a confirmed bug. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team.

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Dec 4, 2024

There is a JS warning in the Assembler of the CYS flow (raised by @gigitux in #53352 (review)).

Steps to reproduce

  1. For the warning to appear, you need to set WP_DEBUG and SCRIPT_DEBUG to true in you wp-config.php file.
  2. Open the Console tab of your browser devtools (F12).
  3. Go to the Assembler from CYS: /wp-admin/admin.php?page=wc-admin&customizing=true&path=%2Fcustomize-store%2Fassembler-hub.
  4. Notice a warning appears in the console:

Warning: React does not recognize the canEnableZoomOutView prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase canenablezoomoutview instead. If you accidentally passed it from a parent component, remove it from the DOM element.

@Aljullu Aljullu added focus: customize-your-store Issues related to the Customize Your Store onboarding flow. team: Kirigami & Origami WC Store Editing (FSE) type: bug The issue is a confirmed bug. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team. labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: customize-your-store Issues related to the Customize Your Store onboarding flow. team: Kirigami & Origami WC Store Editing (FSE) type: bug The issue is a confirmed bug. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team.
Projects
None yet
Development

No branches or pull requests

1 participant