-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added note to horizontal list recipe #9960
Conversation
Visit the preview URL for this PR (updated for commit 0f6e3a2): |
@@ -47,6 +47,13 @@ ListView( | |||
|
|||
## Interactive example | |||
|
|||
{{site.alert.note}} | |||
**Desktop and web only:** This example works in the browser and on the desktop. However, as it scrolls on the horizontal axis (left to right or right to left), hold <kbd>Shift</kbd> when hovering your mouse pointer over the list to scroll it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I would specify <kbd>Shift</kbd> + scroll wheel
on web or desktop. mouse click
+ drag
scroll won't work unless we specify scrollbehavior per: https://docs.flutter.dev/release/breaking-changes/default-scroll-behavior-drag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also:
- Please use line breaks as this line is over 80 chars.
- Use "site.alert.secondary", instead of "site.alert.note". The secondary macro uses "Desktop and web only" as the header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, aside from a couple changes.
@@ -47,6 +47,13 @@ ListView( | |||
|
|||
## Interactive example | |||
|
|||
{{site.alert.note}} | |||
**Desktop and web only:** This example works in the browser and on the desktop. However, as it scrolls on the horizontal axis (left to right or right to left), hold <kbd>Shift</kbd> when hovering your mouse pointer over the list to scroll it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also:
- Please use line breaks as this line is over 80 chars.
- Use "site.alert.secondary", instead of "site.alert.note". The secondary macro uses "Desktop and web only" as the header.
Fixes #9378