Skip to content

Uncaught TypeError: WeakMap key Symbol() must be an object (signals.ts / interactivity) / regression Gutenberg 19.0 #64607

@Marc-pi

Description

@Marc-pi

Description

On a page that contains a cover blocks with an encapsulated Navigation block + Site Logo block, i encounter an issue on mobile : the burger menu is not clickable anymore on Safari + Firefox (ok with Chrome).

If i look at the Dev Tools, i can see a an error with this.computedsByScope.set in signals.ts (see below screenshot)
I don't know if the error explains the issue with the burger menu not anymore clickable on mobile on Safari/FF only.

Step-by-step reproduction instructions

I cannot reproduce in a test page : i've build back the banner + logo + nav, but the issue is not there.

i don't know where the interactivity API is used

  • the website uses pure standard block theme with Gutenberg
  • there is no custom code
  • as long as i can remember, i guess it is used around the site logo, but i did not investigate deepeer

the solution : if i deactivate Gutenberg 19, it works back > so the explanation is there

If someone can fix this ts error, so i can test if it fixes the issue with the nav component, would be great.

Screenshots, screen recording, code snippet

image
image
image

Environment info

  • WP 6.6.1

  • TT3 theme

  • Gutenberg 19.0.0

  • I even tested deactivating WooCommerce & WPRocket, but the issue is still there on Safari/FF mobile context (ok with Chrome).

  • Deactivating the Gutenberg plugin fixes the issue with the nav component (burger menu on mobile)

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Interactivity APIAPI to add frontend interactivity to blocks.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions