Open cocoliliace opened 3 months ago
This may be difficult to reproduce and work on due to the hardware requirement. Although I probably can't contribute much on the code because of my lack of understanding of the internal code and browser differences, I can help test different changes and report the behaviour if anyone has some guesses or starting directions.
Probably duplicate of https://github.com/sveltejs/svelte/issues/10438
I believe this is a different issue. Contrary to #10438,
I seem to be having the same problem. When a user selects a date in the checkout of my website it is updated and displays correctly on every browser except Safari.
Describe the bug
(re-opening of https://github.com/sveltejs/learn.svelte.dev/issues/602 because it was misunderstood and incorrectly transferred to sveltejs/learn.svelte.dev).
Variables do not update and no reactivity-related feature works, on ios safari with software version 12.5.7.
By not working I mean nothing changes when the variables are supposed to update.
Here is a screen recording of the behaviour on ipod. The button flashing is when I clicked on the button:
https://github.com/sveltejs/learn.svelte.dev/assets/38874004/6dff26ce-2403-43a7-b28d-8149b41ced65
Reproduction
https://git.sr.ht/~liliace/reactive-example
This is a skeleton project from running
pnpm create svelte@latest
and copying the code from https://learn.svelte.dev/tutorial/reactive-assignments intosrc/routes/+page.svelte
.I believe it is an issue with the reactivty part and not the
on:click
(or at least not juston:click
) because using asetInterval
to update the variable also works on firefox but not on safari. My other projects using other reactivity code like input binding also have the same issue.This report is mean for svelte and not learn.svelte.dev. I am just using the code on learn.svelte.dev to reproduce this to show that the bug exists on official code examples.
Logs
System Info
Severity
blocking all usage of svelte