Skip to content

Inbox Conversation Screen Lacks Back Navigation Control On iPad (iOS 26)#8277

Merged
markdevocht merged 4 commits intomasterfrom
bugfix/INBOX-7622-iPad-back-button
Apr 19, 2026
Merged

Inbox Conversation Screen Lacks Back Navigation Control On iPad (iOS 26)#8277
markdevocht merged 4 commits intomasterfrom
bugfix/INBOX-7622-iPad-back-button

Conversation

@markdevocht
Copy link
Copy Markdown
Contributor

Fix: Back button not appearing on iPad with iOS 26

On iOS 26, the system back button in UINavigationBar can disappear on iPad when a custom backBarButtonItem is set on the previous view controller's navigationItem — even when no actual back button customization is configured.

Root cause

TopBarPresenter.setBackButtonOptions was unconditionally creating an RNNUIBarBackButtonItem and assigning it to the previous view controller's navigationItem.backBarButtonItem, regardless of whether any back button options (icon, color, title, font, etc.) were actually specified. It also called setBackIndicatorImage: with a nil image, which could clear the system's default back chevron.

On iOS 26, Apple introduced Liquid Glass — a new compositing layer for navigation bars that renders differently on real device hardware (particularly iPad). A custom but empty backBarButtonItem does not participate correctly in this new rendering pipeline, causing the back button to become invisible on real iPad devices while still appearing on iPhone and in the Simulator.

Fix

  • Early-return from setBackButtonOptions: when no customization is present, preserving the system's native back button
  • Guard setBackIndicatorImage: behind an if (icon) check to avoid clearing the default indicator when no custom icon is set

This ensures that the system back button is only replaced when the developer explicitly configures back button options via topBar.backButton.

Affected: iPad on iOS 26 (real device)
Reported in: INBOX-7622

@markdevocht markdevocht enabled auto-merge (squash) April 19, 2026 11:32
@markdevocht markdevocht disabled auto-merge April 19, 2026 11:32
@markdevocht markdevocht merged commit 57dcfdc into master Apr 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant