-
Notifications
You must be signed in to change notification settings - Fork 240
site crashes on iOS 17 Safari #493
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
Comments
Also experiencing this on iOS 16.6.1. |
Hi all, Eric from StackBlitz here- this is a limitation on iOS' end regarding memory available to webpages. This might be fixed in the latest iOS 17 release but I haven't been able to test it yet. If someone else who has 17 can check that'd be helpful! |
Hi Eric. Unfortunately, it's still not fixed. Tested on iOS 17.0.1. |
Hi @EricSimons, can you elaborate at all? It sounds like StackBlitz just doesn't work at all on iOS mobile safari? If that's the case, with respect, I'd suggest that learn.svelte.dev should consider other options. A totally broken website at the front of the tutorial doesn't seem very convincing to potential Svelte adopters. It's also a difficult sell within organisations with the website in it's current state on iOS. |
It completely depends on how much memory Safari is willing to allocate to the current browser tab, which tends to be extremely conservative. This is not an issue on Android browsers though so the good news is that doesn't seem to be a hardware limitation. It's expected that new browser engines will be able to land on iOS soon which will help solve this issue. On our side, we're exploring further ways to reduce memory usage but this seems to be a fundamental limitation in Safari that will be hard to work around downstream. Regarding SvelteKit's learn tutorial- until iOS Safari improves their memory usage story, I think a reasonable workaround would be making the tutorial run in a "static" mode when running on iOS Safari. Having it be interactive would be ideal of course, but the core concepts would still be relayed to learners similar to other tutorials / guides. |
Is there a way to disable whatever eats so much memory? I just want to read the tutorial and it keeps crashing. Is there a tutorial in PDF format so I can finally get an idea about what Svelte is? |
This is still happening on iOS 17.2.1 (iPhone 12) |
As a temporary solution until Apple allows other browsers (maybe never) could this website check for iOS and not load a web container? Or on all devices not load web container until the user selects Editor from the Tutorial / Editor switch? Then it’s still obviously broken by Apple but also still partly usable for those on iOS. |
closed as duplicate of #416 |
Uh oh!
There was an error while loading. Please reload this page.
The tutorial, without interaction, automatically refreshes, then crashes on iOS 17 Safari.
https://learn.svelte.dev/tutorial/welcome-to-svelte
Edit: the crash seems to occur once the dev container has finished booting up.
RPReplay_Final1693367814.mp4
System Info
iOS 17.0 (21A5319a)
The text was updated successfully, but these errors were encountered: