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

WP5.7 - Drawer Block Background Component causes fatal error in editor and doesn't render on frontend #322

Open
acketon opened this issue Mar 14, 2023 · 0 comments · May be fixed by #329
Open

Comments

@acketon
Copy link
Member

acketon commented Mar 14, 2023

The Drawer block uses the Background Component that is shared among many blocks in BU Blocks and BU Prepress.

Initially in the editor I can add a Drawer block and add an image to it from the media library. However when viewing the post on the frontend the image does not render and/or the entire block does not render in the page.

After reloading the editor the post that includes the Drawer block will crash and give the following error in the console:
https://reactjs.org/docs/error-decoder.html/?invariant=321

See this screen recording:

Screen.Recording.2023-03-14.at.11.13.24.AM.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants