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

Smooth scrolling #66

Closed
pabloscloud opened this issue Aug 9, 2022 · 9 comments · Fixed by #69
Closed

Smooth scrolling #66

pabloscloud opened this issue Aug 9, 2022 · 9 comments · Fixed by #69
Assignees
Labels
bug Something isn't working

Comments

@pabloscloud
Copy link

Is your feature request related to a problem? Please describe.
I'm always frustrated when I scroll and notice smooth scrolling is enabled. It feels unnatural and slow.

Describe the solution you'd like
I would like smooth scrolling to be disabled.

Describe alternatives you've considered
I considered the website but I thought using the app would be better for some reason.

Additional context
Unnecessary

@peterklingelhofer
Copy link
Member

peterklingelhofer commented Aug 9, 2022

I'm guessing you're on Android? What version?

At first glance, I would have though this issue pertains:
react-native-webview/react-native-webview#1965

However, we are not using androidHardwareAccelerationDisabled, which was causing the problem for the users in that issue.

This app uses your phone's default browser, so if you have a way of disabling smooth scrolling in your phone's default browser, that would probably fix this issue. I don't have an Android myself so I've never run into this bug nor do I have a way to test it.

In the meantime, I will try to experiment with bumping the react-native-webview version to the latest to see if that solves that for you.

@peterklingelhofer
Copy link
Member

https://github.com/peterklingelhofer/stream-app/releases/tag/react-native-webview-11.23 new release should be live in app stores in the next two days

@pabloscloud
Copy link
Author

I‘m on iOS 16.0 using the TestFlight version 1.2.0 (1.2.0)

@peterklingelhofer
Copy link
Member

I noticed that iOS 16.0 is due to be released this fall (in beta). Sounds like this could be because you’re on an iOS beta release instead of a stable version? When you open https://stream.resonate.coop in Safari, do you have the same issue?

@pabloscloud
Copy link
Author

pabloscloud commented Aug 10, 2022

Its the testsflight, yes. In Safari smooth scrolling isn't enabled. Its just fast and instant like most other webpages.

@peterklingelhofer
Copy link
Member

peterklingelhofer commented Aug 10, 2022

I see, I think changing the decelerationRate property to normal from fast could fix this - it seems that the default for Safari is normal but WebView defaults to fast. Created a new build and submitted to Android/Apple Stores, should be available in the next 48 hours after it is through review.

@pabloscloud
Copy link
Author

That fixed it. Great

@peterklingelhofer
Copy link
Member

Awesome @glottis0q, glad we could get this fixed for you.

Tagging the solution here for posterity: #69.

@ChenReuven
Copy link

I see, I think changing the decelerationRate property to normal from fast could fix this - it seems that the default for Safari is normal but WebView defaults to fast. Created a new build and submitted to Android/Apple Stores, should be available in the next 48 hours after it is through review.

Thanks, it help me a lot men :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants