Webview scroll jumps erratically when scrolled fast enough
See original GitHub issueBug description:
Scrolling inside webview is not behaving properly, when you scroll fast enough, it jumps erratically. This doesn’t happen when you scroll slowly though.
To Reproduce:
Freshly created project using react-native-webview 5.12.1.
<WebView source={{uri: "https://mnurrahman.com"}} />
Expected behavior:
Scroll normally without jumps when you scroll fast.
Screenshots/Videos:
Environment:
- OS: Android
- OS version: Android 9.0
- react-native version: 0.59.5
- react-native-webview version: 5.12.1
I can’t upgrade the webview to the newest version because of AndroidX. I would like to use react-native-webview
version if possible < 6.0. Any help would be appreciated. Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:7
Top Results From Across the Web
Webview scroll jumps erratically when scrolled fast enough
Scrolling inside webview is not behaving properly, when you scroll fast enough, it jumps erratically. This doesn't happen when you scroll slowly ...
Read more >Android webview scroll speed gets occasionally fast
While building a SNS hybrid application, I noticed that the webview gets scrolled nearly twice the distance than the actual gesture distance ...
Read more >Google Pixel 7 & 7 Pro screen scrolling glitch comes to light
Some Google Pixel 7 and 7 Pro users are facing a glitch where the screen scrolling is lagging or stuttering, but there are...
Read more >Safari Technology Preview Release Notes - Apple Developer
Fixed flickering while scrolling when the keyboard scrolling spring ... Fixed capturing a canvas that is not in the DOM leading to erratic...
Read more >Webview scrolling not as smooth as chrome browser scrolling
I am using Webview and adding the ChromeClient to it. I am noticing that vertical scrolling of pages are not very smooth as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any joy on this one? I’m also seeing this behaviour on 10.8.2
I had the same issue on the latest React Native and react-native-webview on Android. The solution was to add this attribute to the
<WebView>
element:androidHardwareAccelerationDisabled={false}