resonatecoop / stream-app

A mobile app for playing music on Resonate, an open source music streaming co-op. This is repository is in maintenance mode, while actively developing this repository: https://github.com/resonatecoop/mobile

Home Page:https://stream.resonate.coop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smooth scrolling

pabloscloud opened this issue · comments

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

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.

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

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?

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

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.

That fixed it. Great

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

Tagging the solution here for posterity: #69.

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 :)