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

svelte:element dynamic this SVG bug #9099

Closed
onlyfortesting opened this issue Aug 12, 2023 · 1 comment
Closed

svelte:element dynamic this SVG bug #9099

onlyfortesting opened this issue Aug 12, 2023 · 1 comment

Comments

@onlyfortesting
Copy link

Describe the bug

I'm not sure if this is still considered a bug or just a "won't fix" type of thing. If it's the latter, please just close this issue. It has already been discussed in #7613 and several others as well.

Basically, if svg is passed as the dynamic this in svelte:element, it won't render due to the wrong namespace.

Reproduction

https://svelte.dev/repl/fb3c89e8979540cebdcea910cafa52f5?version=4.2.0

Logs

No response

System Info

System:
    OS: Linux 6.1 Manjaro ARM
    CPU: (4) arm64 Cortex-A72
    Memory: 1.27 GB / 3.72 GB
    Container: Yes
    Shell: 3.6.1 - /usr/bin/fish
  Binaries:
    Node: 20.2.0 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.19.2 - /usr/bin/npm
    pnpm: 8.6.0 - ~/.bin/pnpm
  Browsers:
    Chromium: 113.0.5672.126
  npmPackages:
    svelte: ^4.0.5 => 4.0.5

Severity

annoyance

@dummdidumm
Copy link
Member

Fixed in Svelte 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants