react-native-tab-view icon indicating copy to clipboard operation
react-native-tab-view copied to clipboard

Lagging during vertical scroll when using webview on android

Open rveruna opened this issue 2 years ago • 2 comments

Current behavior

If the content of the page is react-native-webview, the vertical scroll is lagging on android.

https://user-images.githubusercontent.com/15161568/199702008-a4b3f9a6-5131-40d2-a9b3-307fe2dbe97c.mov

Expected behavior

Vertical scrolling should be smooth

Reproduction

https://snack.expo.dev/@verunar/native-tab-view-with-webview

Platform

  • [X] Android
  • [ ] iOS
  • [ ] Web
  • [ ] Windows
  • [ ] MacOS

Environment

package version
react-native-tab-view ^3.3.0
react-native-pager-view ^6.0.2
react-native 0.70.4
yarn 1.22.10

rveruna avatar Nov 03 '22 10:11 rveruna

Hey @rveruna,

Thanks for reporting this issue. This is actually a bug in react-native-pager-view and should be addressed there. Can you create second issue in pager repo?

okwasniewski avatar Nov 03 '22 20:11 okwasniewski

Hey! Thanks for opening the issue. Seems that this issue is in react-native-pager-view library which is a dependency of react-native-tab-view. Can you also post your issue in this repo so that it's notified to the maintainers of that library? This will help us fix the issue faster since it's upto the maintainers of that library to investigate it.

github-actions[bot] avatar Nov 03 '22 20:11 github-actions[bot]