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

Fix iOS Safari freeze when swiping to navigate #129

Merged
merged 2 commits into from Feb 5, 2018
Merged

Fix iOS Safari freeze when swiping to navigate #129

merged 2 commits into from Feb 5, 2018

Conversation

hippotastic
Copy link
Contributor

@hippotastic hippotastic commented Feb 4, 2018

Fix #128 by not setting scrollRestoration to 'manual' if the current browser is Safari on iOS.

Do not set scrollRestoration to 'manual' if the current browser is Safari on iOS.
@taion
Copy link
Owner

taion commented Feb 5, 2018

Thanks! I cleaned things up a bit. I think it's sufficient to just test for "CriOS" case-sensitive rather than both crios/chrome case-insens, and I pulled out the util. Let me know what you think.

@taion
Copy link
Owner

taion commented Feb 5, 2018

I just checked that this works.

@hippotastic
Copy link
Contributor Author

Looks good to me!

@taion taion merged commit a3ab16c into taion:master Feb 5, 2018
@KyleAMathews
Copy link

This is great! Thanks @rutzfutz and @taion!

@jkusachi
Copy link

hey guys, thanks for the great work on this!

@rutzfutz just curious, have you tried Desktop Safari, using a Magic Mouse/Trackpad?

Safari also supports the swipe-left for back functionality, and at least for me I'm seeing the same lockup from mobile safari.

Try it out if you can, maybe its a Safari issue as a whole?

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

Successfully merging this pull request may close these issues.

None yet

5 participants