out:fade feels unpredictable when navigating pages on iOS Safari
#4856
Unanswered
mostrecent
asked this question in
Q&A
Replies: 1 comment
-
|
I am also seeing the page flicker when swiping back & forward. Doesn't seem to happen on all pages, and doesn't happen when using the back and forward buttons. same thing in chrome on ios when swiping. Both are OK when clicking back and forward |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a very nuanced problem: You go back from
/some-pageto/by pressing the back button on iOS Safari (not by swiping to the right, that's a different case for now)—two options could happen:btw,
/some-pagehasout:fadein its top<div />and/no fade at all for keep this example simple/some-pagefades out and then you see//some-pageis fading out and/pops in at the same timeWhen doing this in SvelteKit's demo app I get option 1 and in my local app I get 2. Don't ask me why, I am testing my code for days now and can't find a clue when what happens.
Interestingly, both do not work when using the swipe gesture when going back. Hard to explain: You see
/, for a split second, then/some-pageflickering in with its fade out motion and then again/. This is a bigger issue which I think can't be solved and due to iOS Safari's slide back animation.How do you guys handle this, better not use
out:fadefor page transitions at all or do I miss something?Beta Was this translation helpful? Give feedback.
All reactions