Skip to content

fix(ios): preserve the system More tab appearance - #588

Open
thiagobrez wants to merge 1 commit into
mainfrom
codex/duo-tab-overflow
Open

thiagobrez wants to merge 1 commit into
mainfrom
codex/duo-tab-overflow

Conversation

@thiagobrez

@thiagobrez thiagobrez commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

PR Description

When UIKit inserts More for overflowing tabs, the library styles it using the next route's index. In Six Tabs on iPhone Duo landscape, More consequently looks and reads as Fifth, obscuring access to the overflow destinations.

Preserve the system More item's title, accessibility label, and icon by excluding its identity from route-specific appearance updates. The same guard applies to deferred updates and later appearance changes.

How to test?

  • Open Six Tabs on iPhone Duo, then rotate to closed landscape.
  • Verify the ellipsis/More control opens the list containing Fifth and Sixth.
  • Select Sixth, then return to portrait; all six direct tabs are available and Sixth remains selected.

Verified with agent-device 0.20.10 and Xcode 27.1 beta / iOS 27.1. Native build and lint pass. Workspace tests and typecheck pass on the same upstream base; this PR changes Swift only.

Screenshots

Before — More incorrectly appears as Fifth After — native More opens Sixth
03-overflow-before-mislabeled.mp4
03-overflow-after-more.mp4

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant