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

Jitter while scrolling a website built with Astro SPA 2.10 on iPad with iOS 16.6 #8250

Closed
1 task
mrdc opened this issue Aug 28, 2023 · 2 comments
Closed
1 task
Labels
needs triage Issue needs to be triaged

Comments

@mrdc
Copy link

mrdc commented Aug 28, 2023

Astro info

Astro SPA 2.10

What browser are you using?

Safari (iPadOS 16.6)

Describe the Bug

Jitter while scrolling a website built with Astro SPA 2.10 on iPad with iOS 16.6.

What's the expected result?

Scrolling should be smooth without any jitter.

Link to Minimal Reproducible Example

https://astro-records.pages.dev/

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Aug 28, 2023
@matthewp
Copy link
Contributor

Please provide a minimal reproduction if you can. This was likely build before we added throttling to the scroll listener. Please open a new issue if you can provide a reproduction.

@mrdc
Copy link
Author

mrdc commented Aug 29, 2023

Please provide a minimal reproduction if you can. This was likely build before we added throttling to the scroll listener. Please open a new issue if you can provide a reproduction.

Please, check here: https://github.com/Charca/astro-records

This was likely build before we added throttling to the scroll listener

I don't see commits related to throttling in 2.x branch :/ Only this one in 3.0-rc6: The scrollend mechanism is a better way to record the scroll position compared to throttling : acf652fc1

Minimal Reproducible Example was built using Astro 2.10.0:

"dependencies": {
    "@astrojs/cloudflare": "^6.8.0",
    "@astrojs/preact": "^1.2.0",
    "@astrojs/tailwind": "^4.0.0",
    "@preact/signals": "^1.2.0",
    "astro": "^2.10.0",
    "preact": "^10.16.0",
    "tailwindcss": "^3.3.3"
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants