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

[ios new architecture] Pager view does not collapse on header height change #959

Open
iliapnmrv opened this issue Jan 10, 2025 · 0 comments

Comments

@iliapnmrv
Copy link

iliapnmrv commented Jan 10, 2025

Environment

Problem is only in new architecture, no matter packages versions

"@react-navigation/elements": "^2.2.5",
"@react-navigation/native": "^7.0.14",
"@react-navigation/native-stack": "^7.2.0",
"react": "18.3.1",
"react-native": "0.76.6",
"react-native-pager-view": "^6.6.1",
"react-native-safe-area-context": "^5.1.0",
"react-native-screens": "^4.4.0",
"react-native-tab-view": "^4.0.5"

Description

Not sure if issue is related to this library of it's on react-native-screens side software-mansion/react-native-screens#2611

If I navigate to screen with plain flatlist, it respects header height using contentInsetAdjustmentBehavior="automatic"
But screen with tabs does not (video is pretty much self explainatory)

Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-01-10.at.12.33.02.mp4

Reproducible Demo

https://github.com/iliapnmrv/rn-pager-view-searchbar-ios-bug

@iliapnmrv iliapnmrv changed the title Pager view does not collapse on header height change [ios new architecture] Pager view does not collapse on header height change Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant