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
{{ message }}
Repository navigation
Element ref was specified as a string (tabContainer) but no owner was set. #1195
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={() => }
Activity
billxie1988 commentedon Sep 12, 2023
replace the
ref={'tabContainer'}with
ref={ref => (this.tabContainer = ref)}111Tashmo commentedon Mar 9, 2024
same issue, any update?
111Tashmo commentedon Mar 9, 2024
this helps #1148