Skip to content

Commit 71d6672

Browse files
BenjChristiansensfshaza2gemini-code-assist[bot]
authored
docs: note scrollbar differences between Material and Cupertino (#12899)
Description of what this PR is changing or adding, and why: Adds a short note in the Scrolling section describing visual scrollbar differences between Material and Cupertino platforms. This clarifies platform adaptation behavior and addresses the request in #4306. Issues fixed by this PR (if any): Fixes #4306 PRs or commits this PR depends on (if any): None. ## Presubmit checklist - [ X] If you are unwilling, or unable, to sign the CLA, even for a _tiny_, one-word PR, please file an issue instead of a PR. - [X ] If this PR is not meant to land until a future stable release, mark it as draft with an explanation. - [ X] This PR follows the [Google Developer Documentation Style Guidelines](https://developers.google.com/style)—for example, it doesn't use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first-person pronouns). - [ X] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer. --------- Co-authored-by: Shams Zakhour <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent f9de405 commit 71d6672

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/content/ui/adaptive-responsive/platform-adaptations.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,19 @@ On **iOS**, scrolling past the edge of a scrollable
149149
[overscroll glow indicator]: {{site.api}}/flutter/widgets/GlowingOverscrollIndicator-class.html
150150
[overscrolls]: {{site.api}}/flutter/widgets/BouncingScrollPhysics-class.html
151151

152+
### Scrollbars
153+
154+
On **Material-based platforms** (such as Android and web),
155+
scrollbars are typically visible during scrolling
156+
and may remain visible depending on the platform and theme.
157+
158+
On **Cupertino-based platforms** (such as iOS),
159+
scrollbars are more minimal and generally only appear briefly
160+
while the user is actively scrolling, fading out when interaction stops.
161+
162+
This difference reflects each platform’s visual conventions
163+
and helps maintain a native look and feel across devices.
164+
152165
### Momentum
153166

154167
On **iOS**,

0 commit comments

Comments
 (0)