Skip to content

Avoid split navigation on regular horizontal size class#759

Merged
etoledom merged 3 commits intotrunkfrom
etoledom/fix-blank-landscape
May 21, 2025
Merged

Avoid split navigation on regular horizontal size class#759
etoledom merged 3 commits intotrunkfrom
etoledom/fix-blank-landscape

Conversation

@etoledom
Copy link
Contributor

Closes #758

Description

Fixes the issue described in #758

Testing Steps

  • Run the demo app in a big size iPhone (Pro Max or Plus)
  • Open the Quick Editor
  • Rotate the device to landscape
    • Check that the content is still all visible.

@etoledom etoledom requested a review from pinarol May 21, 2025 11:18
@etoledom etoledom self-assigned this May 21, 2025
@etoledom etoledom added Bug Something isn't working [Feature] Gravatar-QuickEditor Gravatar Quick Editor [Priority] High labels May 21, 2025
@wpmobilebot
Copy link

wpmobilebot commented May 21, 2025

App Icon📲 You can test the changes from this Pull Request in Gravatar Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar Prototype Build
Build Number2369
VersionPR #759
Bundle IDcom.automattic.gravatar-sdk-demo-uikit.prototype-build
Commit63e0a36
Installation URL7u1sg4sts070o
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Copy link
Contributor

@pinarol pinarol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The issue is solved. 🎉

preferenceKey: InnerHeightPreferenceKey.self
)
}
.navigationViewStyle(StackNavigationViewStyle())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.navigationViewStyle(.stack) seems to also work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just saying this as a TIL.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.navigationViewStyle(.stack) seems to also work.

Oh I like this one more 💯

@etoledom etoledom merged commit 5be94e5 into trunk May 21, 2025
8 checks passed
@etoledom etoledom deleted the etoledom/fix-blank-landscape branch May 21, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working [Feature] Gravatar-QuickEditor Gravatar Quick Editor [Priority] High

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blank screen on iPhone Plus and Pro Max on landscape

3 participants

Comments