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

Unable to adjust height once the height of tab is reduced and then expanded #11949

Closed
2 of 11 tasks
parthiv1993 opened this issue Apr 20, 2024 · 4 comments
Closed
2 of 11 tasks

Comments

@parthiv1993
Copy link

parthiv1993 commented Apr 20, 2024

Current behavior

Reduce the available size for the tab which is available by changing the elements outside, and reset the size.

It is happening only for new architecture. and it is happening only in IOS.

after reducing the height and again increasing the height it doesn't take up entire height

attached the repo link I created for demo purpose.

Screen.Recording.2024-04-20.at.11.15.54.AM.mov

Expected behavior

tabs and tab content should take up all the height provided.

Reproduction

https://github.com/parthiv1993/react-native-tab-issue

Platform

  • iOS
  • Android
  • Web
  • Windows
  • MacOS

Packages

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

Environment

  • [] I've removed the packages that I don't use
package version
@react-navigation/native 6.1.17
react-native-tab-view 3.5.2
react-native-pager-view 6.3.0
react-native 0.73.7
node 21.7.3
yarn 1.22.19
Copy link

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/native

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

Copy link

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

  • @react-navigation/native (found: 6.1.3, latest: 6.1.17)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

@parthiv1993
Copy link
Author

Just an update here. Issue is with react-native-pager-view. which is used internally. closing this issue here.

Copy link

Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.

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