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

Element with slot attribute retains it when rendered #8621

Open
gtm-nayan opened this issue May 23, 2023 · 0 comments
Open

Element with slot attribute retains it when rendered #8621

gtm-nayan opened this issue May 23, 2023 · 0 comments

Comments

@gtm-nayan
Copy link
Contributor

Describe the bug

The slot attribute shouldn't be added since it's not a custom element.

Reproduction

https://svelte.dev/repl/17cb875938d545329c37b88b00a0d98a?version=3.59.1

Line 27 of the JS output contains an attr call to set the slot attribute on the h1.

Logs

No response

System Info

not relevant

Severity

annoyance

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

1 participant