Skip to content
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

iOS back motion inconsistency #13117

Open
MeintrupStefan opened this issue Dec 6, 2024 · 0 comments
Open

iOS back motion inconsistency #13117

MeintrupStefan opened this issue Dec 6, 2024 · 0 comments

Comments

@MeintrupStefan
Copy link

Describe the bug

The back motion on iOS in dependent on the scroll position of the page you are currently on.

When on the very top of page A and going back from page A to page B, you will see page B below page A during the motion.
However, if you scroll page A down before doing the back motion then you will see a blank page below page A.

svelteIOSBackMotionIssue.mp4

Reproduction

On iOS device.

Create svelte demo project via:
https://svelte.dev/docs/kit/creating-a-project

Add this to package.json scripts:
"dev-phone": "vite dev --host "

  1. Execute: npm run dev-phone
  2. Navigate from Home to About through navbar
  3. Execute back motion on iOS (works as expected)
  4. Navigate from Home to About through navbar
  5. Scroll to the bottom of about
  6. Execute back motion on iOS (page below about is blank)

Logs

No response

System Info

Device:
iPhone 13
iOS 18.1.1
Safari

Severity

annoyance

@Conduitry Conduitry transferred this issue from sveltejs/svelte Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant