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

Removing first tab screen #12000

Open
3 of 12 tasks
thienvu23 opened this issue May 22, 2024 · 0 comments
Open
3 of 12 tasks

Removing first tab screen #12000

thienvu23 opened this issue May 22, 2024 · 0 comments

Comments

@thienvu23
Copy link

thienvu23 commented May 22, 2024

Current behavior

When I filter the first tab in the top tab screen, the screen is stuck and does not scroll to the next tab.

There are 2 cases:

  • If I swipe before deleting the first tab, after deleting it will leave a white screen, and can swipe to light the next tab.

  • If I don't swipe and delete immediately. It will leave only the first tab and the remaining tabs are deleted.

  • Android or remove tab does not first work fine

Screen.Recording.2024-05-22.at.14.47.43.mp4

Expected behavior

The app not stuck and scroll to the next page after removing the first tab.

Reproduction

https://github.com/thienvu23/top-tabs-navigation-behavior

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • @react-navigation/native-stack
  • react-native-tab-view

Environment

  • I've removed the packages that I don't use
package version
@react-navigation/native 6.1.17
@react-navigation/material-top-tabs 6.6.13
react-native-safe-area-context 4.10.1
react-native-screens 3.31.1
react-native-pager-view 6.3.0
react-native 0.74.1
expo 51.0.8
node v18.18.0
npm or yarn 1.22.19
@thienvu23 thienvu23 added the bug label May 22, 2024
@thienvu23 thienvu23 changed the title Removing first tab screen in IOS Removing first tab screen in IOS Bug May 22, 2024
@thienvu23 thienvu23 changed the title Removing first tab screen in IOS Bug Removing first tab screen May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant