react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

BUG: Tab Indicator Does not Appear when upgrading to Expo 51

Open jake-ruth opened this issue 1 year ago • 5 comments

Description

After upgrading to Expo 51, I am having an issue where the tab indicators do not appear under tabs.

Related to

  • [x] Components
  • [ ] Demo
  • [ ] Docs
  • [ ] Typings

Steps to reproduce

Render a tab view with environment listed below.

Expected behavior

Show the tab indicators below each tab.

Code snippet

The example from the docs will reproduce this issue:

<TabController items={[{label: 'First'}, {label: 'Second'}, {label: 'Third'}]}>
  <TabController.TabBar />
  <View flex>
    <TabController.TabPage index={0}>{renderFirstPage()}</TabController.TabPage>
    <TabController.TabPage index={1} lazy>{renderSecondPage()}</TabController.TabPage>
    <TabController.TabPage index={2} lazy>{renderThirdPage()}</TabController.TabPage>
  </View>
</TabController>

Screenshots/Video

IMG_9006

Environment

"expo": "^51.0.0",
"react-native": "0.74.1",
"react-native-ui-lib": "^7.23.3",
"react-native-gesture-handler": "~2.16.1",
"react-native-reanimated": "~3.10.1",

Affected platforms

  • [x] Android
  • [x] iOS
  • [ ] Web

I am guessing it is something to do with reanimated/gesture handler.

jake-ruth avatar Jun 03 '24 11:06 jake-ruth

I have the same issue after upgrading to Expo 51

kwrobinski avatar Jun 06 '24 14:06 kwrobinski

I have the same issue after upgrading to Expo 51, too

hualongdai avatar Jun 28 '24 10:06 hualongdai

Any luck from anyone on this issue? I am thinking of migrating to a new package for my tabs.

jake-ruth avatar Jul 03 '24 17:07 jake-ruth

I'm gonna move over to react-native-tab-view: https://reactnavigation.org/docs/tab-view/

jake-ruth avatar Jul 06 '24 01:07 jake-ruth

Hi @jake-ruth, Currently we are supporting react-native 0.71 not 0.74. This issue might come from the react-native version and the react-native-reanimated version. Does it reproduce on react-native 0.71 ?

adids1221 avatar Aug 27 '24 08:08 adids1221

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 31 '25 23:01 stale[bot]