Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fullscreen style for media preview on v35+ #21655

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

nbradbury
Copy link
Contributor

@nbradbury nbradbury commented Feb 3, 2025

Fixes #21647

With the addition of edge-to-edge display in SDK 35+, the media preview toolbar overlaps the status bar. We originally tried to resolve this in #21648, but that turned out to be problematic. This PR aims to provide a simpler solution by updating to a fullscreen style for just SDK 35+. To test:

  • Run the app on SDK 35+
  • Go to your media library and tap an image to view it full screen
  • Ensure the toolbar doesn't overlap the status bar
  • Repeat with a Pre-35 SDK

@dangermattic
Copy link
Collaborator

dangermattic commented Feb 3, 2025

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

Copy link

sonarqubecloud bot commented Feb 3, 2025

@wpmobilebot
Copy link
Contributor

WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr21655-baa61ca
Commitbaa61ca
Direct Downloadwordpress-prototype-build-pr21655-baa61ca.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr21655-baa61ca
Commitbaa61ca
Direct Downloadjetpack-prototype-build-pr21655-baa61ca.apk
Note: Google Login is not supported on these builds.

@nbradbury nbradbury requested a review from dcalhoun February 3, 2025 18:10
@nbradbury nbradbury marked this pull request as ready for review February 3, 2025 18:10
Copy link
Member

@dcalhoun dcalhoun 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 to me. 🚀

@nbradbury nbradbury merged commit e2c3f54 into trunk Feb 5, 2025
26 checks passed
@nbradbury nbradbury deleted the issue/21648-edge-to-edge-fullscreen-media branch February 5, 2025 10:45
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.

Better handling of edge-to-edge in media preview
4 participants