You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using react-native-scrollable-tab-view in my project getting error:
Error: Element ref was specified as a string (tabContainer) but no owner was set.
Steps to Reproduce
Install react-native-scrollable-tab-view.
Use ScrollableTabView, ScrollableTabBar from react-native-scrollable-tab-view as follows:
<ScrollableTabView
initialPage={0}
prerenderingSiblingsNumber={Infinity}
tabBarInactiveTextColor="gray"
tabBarActiveTextColor="#00BCE0"
renderTabBar={() => }
While using react-native-scrollable-tab-view in my project getting error:
Error: Element ref was specified as a string (tabContainer) but no owner was set.
Steps to Reproduce
<ScrollableTabView
initialPage={0}
prerenderingSiblingsNumber={Infinity}
tabBarInactiveTextColor="gray"
tabBarActiveTextColor="#00BCE0"
renderTabBar={() => }
<Tab1
tabLabel="Tab 1"
navigation={this.props.navigation}
<Tab2
tabLabel="Tab 1"
navigation={this.props.navigation}
Expected Behavior
2 Tabs should be visible on screen named Tab1 and Tab2
Actual Behavior
App crashes with following error:
Error: Element ref was specified as a string (tabContainer) but no owner was set. This could happen for one of the following reasons:
The text was updated successfully, but these errors were encountered: