Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 of 6 tasks
jake-ruth opened this issue Jun 3, 2024 · 5 comments
Open
3 of 6 tasks

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

jake-ruth opened this issue Jun 3, 2024 · 5 comments
Labels
bug a bug in one of the components

Comments

@jake-ruth
Copy link

jake-ruth commented Jun 3, 2024

Description

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

Related to

  • 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

  • Android
  • iOS
  • [ ] Web

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

@jake-ruth jake-ruth added the bug a bug in one of the components label Jun 3, 2024
@kwrobinski
Copy link

I have the same issue after upgrading to Expo 51

@hualongdai
Copy link

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

@jake-ruth
Copy link
Author

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

@jake-ruth
Copy link
Author

jake-ruth commented Jul 6, 2024

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

@adids1221
Copy link
Contributor

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in one of the components
Projects
None yet
Development

No branches or pull requests

4 participants