-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reactivity not working on ios safari #602
Comments
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. |
maybe u can record a video |
I see that the issue is transferred from sveltejs/svelte to sveltejs/learn.svelte.dev. I'd like to clarify that although I linked the tutorial as the reproduction, this issue exists on local builds too, with any code that uses reactivity. |
Below is a screen recording of the behaviour on ipod. The button flashing is when I clicked on the button: E3DF33D2-2B1B-4E6C-BA2E-B17F7AD0D7F1.MOVThe code for the local host is the same as the tutorial example: <script>
let count = 0;
function increment() {
count += 1;
}
</script>
<button on:click={increment}>
Clicked {count}
{count === 1 ? 'time' : 'times'}
</button> |
Should this issue be transferred back to sveltejs/svelte? I may have caused some confusion by linking the tutorial example as the reproduction code. The issue I mean to report is about the framework itself, causing all svelte projects with reactivity to behave unexpectedly. I have updated the reproduction link to a custom repository to make it more clear. |
Closing this and re-opning at sveltejs/svelte#11869. |
Describe the bug
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.
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.Logs
System Info
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered: