react-navigation / react-navigation

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

headerLargeTitle: true with headerBackTitleVisible: false makes back button animation jerky #11946

Open iliapnmrv opened 1 month ago

iliapnmrv commented 1 month ago

Current behavior

the video is pretty much self-explainatory only setting headerBackTitleVisible: true resolves the issue

https://github.com/react-navigation/react-navigation/assets/53317327/81dd3690-45f1-4e1d-b0b8-41b71a602c8a

https://github.com/react-navigation/react-navigation/assets/53317327/3ba2005f-e2c2-4009-ae67-adf654c010d4

https://snack.expo.dev/@iliapnmrv/headerlargetitle_headerbacktitlevisible

Expected behavior

Being able to set headerBackTitleVisible: false with headerLargeTitle: true

Reproduction

https://github.com/iliapnmrv/rn-navigation-headerLargeTitle-bug

Platform

Packages

Environment

package version
@react-navigation/native 6.1.17
@react-navigation/native-stack 6.9.26
react-native-safe-area-context 4.9.0
react-native-screens 3.30.1
node 18.19.0
npm or yarn node
github-actions[bot] commented 1 month 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.