You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 571da6f
Browse filesBrowse the repository at this point in the historyBrowse files
feat(lab): under a finger, NavigationStack's bar takes the iOS 26 look
Under a finger, NavigationStack's bars paint no background and no
hairline, as iOS 26's do. Each screen carries a scroll edge effect: a
veil of the body colour that fades in once its content has moved 10px
under the bar, on UIKit's measured springs. A push, a pop and a back
swipe carry each screen's veil with its card, and the bar a card covers
is cut at that card's leading edge. A mouse keeps opaque bars.
The veil and the UIKit bar constants live in Lab. The veil reads Core's
finger-scroll hook, with its end call, and Core's internal touch entry
also names the gesture host and the coarse-pointer check: export-only
additions, with no change to Core's behavior.
[chore] Internal: Core's internal touch entry also names, for Lab's NavigationStack, the gesture host and the coarse-pointer check. Its scroll edge effect reads the internal finger-scroll hook and its end call. Apps import nothing new.
Copy file name to clipboardExpand all lines: packages/lab/src/NavigationStack/NavigationStack.doc.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ export const docs = {
25
25
name: 'NavigationStack',
26
26
displayName: 'Navigation Stack',
27
27
description:
28
-
"The navigator. You own the path: pass the entries pushed on the root screen and update them in onPathChange. The stack renders the root screen and one screen per entry, the top one last, keeps covered screens and their scroll positions alive, and makes them inert. The bar shows the top screen's title, its end content and a round Back button with a chevron, named by the screen it returns to. A push moves focus to the new screen's title; a pop returns it to the control that pushed the screen.",
28
+
"The navigator. You own the path: pass the entries pushed on the root screen and update them in onPathChange. The stack renders the root screen and one screen per entry, the top one last, keeps covered screens and their scroll positions alive, and makes them inert. The bar shows the top screen's title, its end content and a round Back button with a chevron, named by the screen it returns to. A push moves focus to the new screen's title; a pop returns it to the control that pushed the screen. Under a finger the bar paints no background and no hairline, as iOS 26's does. Once a screen's content has moved 10px under the bar, a veil of the body colour fades in at the top of that screen. Each screen keeps its own veil through a push, a pop or a back swipe. With a mouse the bar keeps its surface and hairline.",
0 commit comments