withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.88k stars 2.49k forks source link

Astro devToolbar throws "Uncaught TypeError: Illegal constructor" #11685

Closed kantuni closed 3 months ago

kantuni commented 3 months ago

Astro Info

Astro                    v4.13.3
Node                     v20.9.0
System                   macOS (x64)
Package Manager          pnpm
Output                   static
Adapter                  none
Integrations             @astrojs/tailwind

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

When opening a page with the dev toolbar enabled, the toolbar doesn't work and the following error is being thrown in the console

Console

Screen Shot 2024-08-12 at 10 32 37 PM

Sources

Screen Shot 2024-08-12 at 10 34 15 PM

Possibly a similar issue: https://github.com/missive/emoji-mart/issues/812

What's the expected result?

The dev toolbar to show up.

Link to Minimal Reproducible Example

N/A

Participation

github-actions[bot] commented 3 months ago

Hello @kantuni. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs repro will be closed if they have no activity within 3 days.

kantuni commented 2 months ago

The issue was caused by redefine-custom-elements