react-navigation / react-navigation

Routing and navigation for your React Native apps
https://reactnavigation.org
23.3k stars 4.97k forks source link

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

Closed parthiv1993 closed 3 weeks ago

parthiv1993 commented 4 weeks ago

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.

https://github.com/react-navigation/react-navigation/assets/25325147/829b426a-2cb9-44e9-89a7-8ed9f865b383

Expected behavior

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

Reproduction

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

Platform

Packages

Environment

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
github-actions[bot] commented 4 weeks ago

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

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

github-actions[bot] commented 4 weeks ago

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

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

parthiv1993 commented 3 weeks ago

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

github-actions[bot] commented 3 weeks ago

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.