Repository navigation
Share iPad navigation across window sizes - #26440
Draft
crazytonyli wants to merge 6 commits into
Draft
crazytonyli wants to merge 6 commits into
crazytonyli wants to merge 6 commits into
Conversation
Collaborator
Generated by 🚫 Danger |
crazytonyli
force-pushed
the
task/adaptive-ipad-navigation
branch
2 times, most recently
from
November 25, 2026 23:59
277a7e4 to
d72515f
Compare
crazytonyli
force-pushed
the
task/adaptive-ipad-navigation
branch
from
November 26, 2026 19:13
d72515f to
e6a2e42
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Resizing an iPad window currently switches between separate navigation stacks. This PR keeps the same My Site, Reader, and Notifications screens and Back history as the window changes width.
WPTabBarControlleruses UIKit's.tabSidebarmode on iPhone and iPad. UIKit controls the tab bar and sidebar presentation. Each of these three destinations uses an adaptiveUISplitViewControllerto retain its list and detail navigation controllers across width changes.Comparison screenshots
Jetpack on the same iPadOS 27.2 simulator in landscape, with a 1180 × 820 window. Before: PR base
dbd0270fbd(task/native-tab-definitions). After: PR head277a7e4e61.Each pair uses the same screen, test site or feed, and scroll position. Click an image to view it at full size.
My Site Dashboard
Posts, Published filter
Reader, Recent feed
App sidebar open
What I ran
Automated verification used Xcode MCP with the WordPress scheme,
WordPressUnitTestsplan, and an iPadOS 26.2 simulator at277a7e4e61.Result: 57 tests: 55 passed, 0 failed, 2 skipped, 0 expected failures, 0 not run. The two skipped tests require an iPhone.
All six commits built during verification.
Testing instructions