-
- Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the bug
Svelte is having buggy behavior with the new svelte:element. The advanced classes (class:foo) do not properly work with props for some reason. I haven't narrowed down why, but I have created a REPL below.
Reproduction
https://svelte.dev/repl/c74f48f8e55445c9b02734145bf78391?version=3.48.0
Workarounds
not using class:foo, and switching to class="{foo ? 'foo' : ''}" (at the cost of missing unused classes)
System Info
N/ASeverity
annoyance
AlbertMarashi
Metadata
Metadata
Assignees
Labels
No labels