satya164 / react-native-tab-view

A cross-platform Tab View component for React Native
MIT License
5.14k stars 1.07k forks source link

Lagging during vertical scroll when using webview on android #1400

Open rveruna opened 1 year ago

rveruna commented 1 year ago

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

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
okwasniewski commented 1 year ago

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?

github-actions[bot] commented 1 year ago

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.