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 43061c7
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ScrollableArea): touch screens keep the platform's scroll indicator
The viewport's neutral scrollbar-color replaced iOS Safari's own scroll
indicator with a faint bar: hard to see while scrolling, and visible in
the gap a pull-to-refresh opens. Under a coarse primary pointer the
viewport now leaves scrollbar-color at auto, so iOS draws its indicator
only while scrolling, as UIScrollView does. Mouse and trackpad scrollbars
keep the neutral thumb; the component record's FR3 says so.
[fix] On touch screens, `ScrollableArea` (and Table, CodeBlock and BottomSheet's body, which use it) keeps the platform's own scroll indicator. Its neutral `scrollbar-color` replaced iOS Safari's indicator with a faint bar that was hard to see while scrolling and also showed in the gap a pull opens; iOS now draws its own indicator, only while scrolling. Mouse and trackpad scrollbars keep the neutral colour.
| FR1 | The root MUST remain the one native viewport and receive the public ref, standard container sizing props, and styling inputs through StyleX. |`spec:AST-025` IR3–IR4 | implemented |
77
77
| FR2 | The inner content wrapper MUST be a real normal-flow block box observed with the viewport, use a 100% minimum size, and use max-content inline sizing only when inline scrolling is requested. Children participate in that box rather than the viewport's flex/grid formatting context, and the minimum block size does not create a definite percentage-height basis; structures that must preserve those semantics adopt the hook directly. |`spec:AST-025` FR5–FR6 | implemented |
78
-
| FR3 | Native scrollbar behavior MUST remain authoritative; the default thumb uses `--color-neutral`, the track is transparent, and forced colors restore platform presentation.|`spec:AST-025` FR15 | implemented |
78
+
| FR3 | Native scrollbar behavior MUST remain authoritative; with a fine pointer the default thumb uses `--color-neutral` and the track is transparent, while a coarse primary pointer and forced colors restore platform presentation. |`spec:AST-025` FR15 | implemented |
79
79
| FR4 | Scroll-state container queries MAY enhance descendant stuck/edge presentation, but hook state MUST remain the cross-browser source of truth. |`spec:AST-025` platform support | implemented progressively |
80
80
| FR5 | The content box MUST apply and publish logical padding with edge-over-axis-over-uniform precedence, defaulting every published edge to zero. `isFullBleed` MUST let only the viewport consume inherited inset; nested content continues to read the content box's published values. |`architecture:container-padding`| implemented |
81
81
| FR6 | A fitting viewport MUST use `clip` on both physical axes so it prevents paint overflow without capturing native Sticky. Excess requested-axis geometry MUST activate the writing-mode-resolved `auto`/`hidden` pair. `stickyContainment="always"` MUST explicitly retain that pair while fitting. |`spec:AST-025` FR21 | implemented |
@@ -95,6 +95,7 @@ shared behavior hook, not the exclusive owner of that behavior.
95
95
| overflowing | named tab stop; per-axis logical edge state | one or both requested axes |
96
96
| overflow removed while focused | remove future tab stop without moving focus | current focus remains |
0 commit comments