Repository navigation
Conversation
…ffect Both composer bars now carry scroll-edge-soft next to glass/80. With a mobile-air that knows the class, iOS 26 and later draw the system scroll edge effect under the bar, a progressive blur like the one under its own toolbars, and the bar drops its fade row and the tint on its rows so the effect shows. Older iOS keeps the fade over glass, and Android its fade over the surface. Which iOS the phone runs comes from System::osVersion(). Without a mobile-air that has it, every iOS keeps the fade, and the new tests skip (tests/Support/ScrollEdge.php). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From iOS 26 the field and its row of tools on the commit page's reply bar
and the Remote composer sit in a rounded Liquid Glass box, 16pt in from the
screen's sides, over the system's scroll edge effect. The bar asks for the
effect with mobile-air's new edge-blur attribute in place of the old
scroll-edge-soft class.
Two Display constants switch it: ComposerInGlassBox (on) and
ComposerEdgeBlur ("soft", or "hard" for the opaque fade). In the box the
field sits 16pt under the box's edge, as far as it sits above the tools,
and the send button is 8pt in from the box's right and bottom edges, so the
box is rounded at 24. That makes the bar 6pt taller, which the page and
thread clearances follow. Older iOS and Android draw the bars as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The suggestions now sit 8pt above the composer's glass box on the commit page and in Remotes, instead of touching it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It sat flush on the composer's glass box. Now there's 8pt between them, as there is under the mention list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Stacked on #198, the tip of the composer stack.
maindoesn't havecomposer-boxorcomposer-fadeyet, so this can't sit on it.On iOS 26 and later the reply bar on a commit's page and the Remotes message bar now stand on the system's scroll edge effect, the progressive blur iOS draws under its own toolbars, instead of the opacity fade over glass. The field and its row of tools sit in a rounded Liquid Glass box on top of the blur, 16pt in from the screen's sides, the way Messages draws its composer.
Both bars carry
class="glass/80"andedge-blur="soft". With NativePHP/mobile-air#741 the attribute makes iOS 26 place the bar withsafeAreaBarand draw the edge effect, and the bar's glass is left out there. On iOS 26 the bar also drops its fade row and the tint on its rows, which would otherwise paint over the effect, and the page's end clearance loses the fade's 28pt. That comes fromDisplay::hasScrollEdge(), which reads the iOS version fromSystem::osVersion().Two constants in
Displayswitch the look:ComposerInGlassBox(on) puts the field and tools in the glass box. Off, they sit straight on the blur.ComposerEdgeBlur(soft) picks the effect.hardis the opaque fade.In the box the field sits 16pt under the box's top edge, the same distance as from the field to the tools, and the send button is 8pt in from the box's right and bottom edges, so the box is rounded at 24 to follow the button. That makes the bar 6pt taller (
ComposerGlassBoxBarHeight, 100 against 94), and both clearances follow it. The mention list, the "Replying to" card and the photos stay above the box in their own slots, 16pt in, so they line up with it.iOS before 26 keeps the fade over glass with no box. Android keeps its fade over the surface.
Without #741 in vendor nothing changes on any iOS:
hasScrollEdge()is false and the new tests skip (tests/Support/ScrollEdge.php). For a phone build, applystorage/app/patches/mobile-air-scroll-edge.patchand thenmobile-air-tab-bar-scroll-edge.patchtovendor/nativephp/mobile. The second one swaps the old class for the attribute and adds the tab bar blur from NativePHP/mobile-air#743.To watch for:
glasswith no tint, so in dark mode it reads as the system's glass rather than the surface colour.Tests: Pest 1981 passed. Without the patch, the scroll edge tests skip.
🤖 Generated with Claude Code