the position of Indicator error when i navigate back from an lazy import view, like this:
const AuthcodeManagerScreen = lazy(
() => import('pages/mine/authcode/screen/AuthcodeManagerScreen'))
when i import like this:
import AuthcodeManagerScreen from 'pages/mine/authcode/screen/AuthcodeManagerScreen'
the problem is gone
only in android, iOS is correct
how can I fix this problem? lazy import is important for me , i do not want to give up
<Observer>
{() => {
return (
<TabView
navigationState={{ index: store.index, routes: store.routes }}
renderScene={renderScene}
onIndexChange={store.handleIndexChange}
initialLayout={initialLayout}
renderTabBar={renderTabBar}
lazy
/>
)
}}
</Observer>
i tried use renderIndicator and default Tabbar, still alive
| software | version
| ---------------------------- | -------
| ios or android | android
| react-native | 0.63.3
| react-native-tab-view | 2.15.2
| react-native-gesture-handler | 1.9.0
| react-native-reanimated | 1.13.2
| node | v10.15.3
| npm or yarn | yarn 1.22.5
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
react-native (found: 0.63.3, latest: 0.63.4)Can you verify that the issue still exists after upgrading to the latest versions of these packages?
@ryankask expect a reply