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

IOS required no view pager but Andorid required view pager. how to resolve this issue.

Open puneetkansal04 opened this issue 4 years ago • 1 comments
trafficstars

With this

"react": "17.0.1", "react-native": "0.64.2",

If I am using @react-native-community/viewpager

android started working and IOS doesn't

if I will not use this android stopped working and iOS working with this package

So what should I do to resolve this issues. how to use react-native-scrollabletabview in both.

puneetkansal04 avatar Jun 23 '21 11:06 puneetkansal04

In my case I got rid of viewpager dependency by patching the package. Now both on ios and android Animated.ScrollView is used as a scenes container. It also seems to have a better animation performance on android (at least when used with scrollable tab bar, it no longer stutters on tab switching). See node_modules\react-native-scrollable-tab-view\index.js

Orange9000 avatar Jul 05 '21 17:07 Orange9000