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

Javascript console error when accessing patterns with Stackable blocks #3188

Closed
andeng1106 opened this issue May 21, 2024 · 0 comments · Fixed by #3191
Closed

Javascript console error when accessing patterns with Stackable blocks #3188

andeng1106 opened this issue May 21, 2024 · 0 comments · Fixed by #3191
Assignees
Labels
[browser] Firefox bug Something isn't working

Comments

@andeng1106
Copy link

andeng1106 commented May 21, 2024

Describe the bug

  • Issue only shows on Firefox

  • Happens to some Stackable blocks but ok with Heading, Image, etc.

  • Javascript error shows in console when accessing patterns that include Stackable blocks
    image

  • Patterns also shows a block error in preview

    • But when adding the pattern in editor, it shows correctly (works)

To Reproduce
Steps to reproduce the behavior:

  1. Add a new page
  2. Add any Stackable block (e.g. Icon List)
  3. Create pattern for the Icon List block (no difference whether synced or unsynced)
  4. Save pattern
  5. Add a new page
  6. Open Inspect > Console tab in browser
  7. Click (+) and go to Patterns tab
  8. See that an error appears on console
  9. See that the patter preview is a block error

Expected behavior

  • Javascript error should not appear in console upon viewing Patterns with Stackable blocks
  • Pattern preview should not show block error and should display the proper block preview

Screenshots

firefox.javascript.error.mov

Desktop:

  • OS: using MacOS (no specific OS)
  • Browser: Firefox
  • Browser Version: 126.0 (no specific browser version)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[browser] Firefox bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants