You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because get_spread_update change class attribute and there is no toggle class call for red class, red class is deleted. Good solution is to compile truthy values of class:name={truthy} like static.
The text was updated successfully, but these errors were encountered:
Describe the bug
class:name={ true }
in combination with spread arguments is deleted on spread arguments updateTo Reproduce
REPL https://svelte.dev/repl/ff608fce63184816a57bbb5ae0ea7bd3?version=3.8.1
Additional context
update function is
Because
get_spread_update
changeclass
attribute and there is no toggle class call forred
class,red
class is deleted. Good solution is to compile truthy values ofclass:name={truthy}
like static.The text was updated successfully, but these errors were encountered: