Repository navigation
fix: Opaque status bar for the app installed on the iOS home screen - #14
Merged
Merged
Conversation
With apple-mobile-web-app-status-bar-style set to black-translucent, iOS draws the page under the status bar and softens what lies beneath it so the clock stays readable. The navigation bar, first element of the page, sits right there and showed up blurred once the app was installed on the home screen. With "black", the status bar is opaque and the page starts below it : nothing is drawn under it anymore. The price is a black band at the top instead of the page flowing under the clock. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ezfcpkv2np5PkGwck9TSHY
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.
Le problème
Une fois l'app installée sur l'écran d'accueil d'iOS, la barre de navigation apparaît floue en haut de l'écran, alors que le reste de la page est net.
Aucune règle CSS de l'app n'en est la cause : le seul
filter: blurconcerne les images des projets verrouillés, et il n'y a aucunbackdrop-filter. Le flou vient deindex.html:black-translucentdemande à iOS de dessiner la page sous la barre d'état, et iOS atténue ce qui se trouve dessous pour que l'heure reste lisible. La barre de navigation, premier élément de la page, tombe pile dans cette zone.Le correctif
blackà la place : la barre d'état devient opaque et la page commence en dessous, plus rien n'est dessiné sous la barre d'état.Contrepartie : une bande noire en haut de l'écran, au lieu de la couleur de la page qui passait sous l'heure.
Vérifications
index.htmlgénéré porte biencontent="black".feat/web-push, qui ajoute une lignemobile-web-app-capablejuste au-dessus (vérifié avecgit merge-tree).Non vérifié sur un iPhone : je ne peux pas faire tourner iOS depuis mon environnement. Si le changement n'apparaît pas après le déploiement, supprimer l'app de l'écran d'accueil puis la réinstaller : iOS peut garder en mémoire la configuration lue à l'installation.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ezfcpkv2np5PkGwck9TSHY
Generated by Claude Code