sveltejs / svelte

Cybernetically enhanced web apps
https://svelte.dev
MIT License
76.98k stars 4k forks source link

Svelte 5: Setting the `loading` property for `img` in the `$effect` rune does not work #11620

Closed Serator closed 2 weeks ago

Serator commented 2 weeks ago

Describe the bug

I try changing the value of the loading attribute of the img tag in the $effect rune, but it doesn't produce any result.

Reproduction

Logs

No response

System Info

* "svelte": "5.0.0-next.133"

Severity

annoyance

Serator commented 2 weeks ago

It might have something to do with that.

dummdidumm commented 2 weeks ago

11593 is the culprit for this - going back to a playground before that PR shows that it's working as expected.