Skip to content

iOS Large Title does not work with custom backButton #7101

@robrechtme

Description

@robrechtme

🐛 Bug Report

When using a custom topBar.backButton in combination with the topBar.largeTitle, it uses the default chevron until you scroll up.

Expected behavior

The custom backButton (in this case the X icon) should be the backButton in all cases.

Actual Behavior

The default chevron is used until you scroll up. The custom color however is used at all times.

ios14

Your Environment

  • React Native Navigation version: 7.13.0
  • React Native version: 0.63.4
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): iPhone 12 mini sim (14.4)

Reproducible Demo

MyScreen.options = {
  topBar: {
      title: { 
        text: 'Profile' 
      },
      backButton: {
        icon: CLOSE_ICON,
        color: 'red',
      },
     largeTitle: { 
         visible: true, 
     },
  },
};

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions