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

Update Gatsby to fix iOS Safari freeze when swiping to navigate #589

Closed
hippotastic opened this issue Feb 6, 2018 · 6 comments
Closed

Comments

@hippotastic
Copy link

Your site is using an old version of Gatsby that is affected by this issue that causes swipe navigations in iOS Safari to freeze the browser for 2-6s.

I implemented a workaround for this iOS Safari bug in the upstream component scroll-behavior and @KyleAMathews updated Gatsby's dependencies to use the updated version.

I suggest that you redeploy your site using the latest Gatsby version to fix this bug.

@gaearon
Copy link
Member

gaearon commented Feb 6, 2018

Do you mind sending a PR with version bump?

@hippotastic
Copy link
Author

Hmm, if I read your package.json correctly, a version bump actually shouldn't be necessary as you depend on "gatsby": "^1.9.135". The current Gatsby version is 1.9.181, so it's still within your semver range. You just need to redeploy the site using the latest packages matching your current package.json.

@gaearon
Copy link
Member

gaearon commented Feb 6, 2018

We use yarn. I think the lockfile version is probably earlier.

@hippotastic
Copy link
Author

Oh, I see. I'm afraid I won't be able to help you with the version bump then. I just found and fixed the mentioned bug, but I haven't used yarn yet and currently don't have the time to learn a new tool. Sorry!

@gaearon gaearon mentioned this issue Feb 6, 2018
@gaearon
Copy link
Member

gaearon commented Feb 6, 2018

Either way, thanks for reporting.

@hippotastic
Copy link
Author

You're welcome!

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

2 participants