Skip to content

When a $derived value is used as the first class in a class attribute within a Svelte component, there is an unexpected delay in applying the subsequent CSS class definitions

Notifications You must be signed in to change notification settings

johannesmutter/svelte-5-bug-delay-in-applying-css-classes-from-derived-rune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clone and run locally to reproduce. Reload the page. Notice how the bold formatting is applied after a short delay only for the first line of text

About

When a $derived value is used as the first class in a class attribute within a Svelte component, there is an unexpected delay in applying the subsequent CSS class definitions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published