You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When native react navigation header is enabled on iOS, we need to set the contentInsetAdjustmentBehavior to automatic so that scroll view can adjust the content inside based on the header height. Now when that is set on iOS, it causes visual jumps. I also have provided a workaround but that is not a good solution since if someone enables reduce transparency in iOS, the code can break. That's why contentInsetAdjustmentBehavior="automatic" is important.
Describe the bug
When native react navigation header is enabled on iOS, we need to set the contentInsetAdjustmentBehavior to automatic so that scroll view can adjust the content inside based on the header height. Now when that is set on iOS, it causes visual jumps. I also have provided a workaround but that is not a good solution since if someone enables reduce transparency in iOS, the code can break. That's why contentInsetAdjustmentBehavior="automatic" is important.
Code snippet
Buggy code:
Workaround:
Repo for reproducing
TBD
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-13.at.09.09.50.mp4
Screenshots
ScreenRecording_03-12-2025_5-32-01_PM_1.mov
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: