Skip to content

backButtonDisplayMode is not working when headerBackTitle is used #2809

@maciekstosio

Description

@maciekstosio

Description

While working on headerBackButtonDisplayMode, I noticed that the headerBackButtonDisplayMode behavior is skipped, when headerBackTitle is provided. I tested it on plan UIKit (without RN) and it suppose to work.

Screen.Recording.2025-04-07.at.17.42.37.mov

Steps to reproduce

Open Test1084 and set on second screen:

            headerBackTitle: 'Banana',
            headerBackButtonDisplayMode: 'generic',

when using generic "Back" or just an arrow should be displayed instead of "Banana", when using default the back title should change between "Banana", "Back", and just an icon depending of the size of the title. Currently, when the backTitle is to large it moves the title.

Snack or a link to a repository

☝️

Screens version

4.10.0-beta.3

React Native version

0.78.0-rc.5

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Missing infoThe user didn't precise the problem enoughMissing reproThis issue need minimum repro scenarioPlatform: iOSThis issue is specific to iOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions