Is there any way to customise / localise the back button in a NativeStackNavigator? #783
-
If a previous title is too long on iOS the label on the back button get's replaced with a "Back" string, regardless of the devices language setting. Is there any way to customise the truncated back title (as with the standard stack navigator), or at least use a localised string so the app will show users "Back" in their respective languages? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @TheLartians, sorry for the late response 🙏
I believe in react-native-screens 3.26.0 it's right now possible to enter long title in Cheers! |
Beta Was this translation helpful? Give feedback.
Hi @TheLartians, sorry for the late response 🙏
I believe in react-native-screens 3.26.0 it's right now possible to enter long title in
headerBackTitle
prop, but you can't truncate it yet.I also think
Back
as a back button title is being controlled by iOS - so it should localise the string itself.Cheers!