Skip to content

Conversation

@xu-baolin
Copy link
Member

@xu-baolin xu-baolin commented Aug 16, 2022

Currently, we can scroll the scrollable widget with NeverScrollableScrollPhysics by the scroll bar.

I am not sure whether need hide the bar if the scrollable do not allow user scroll

@flutter-dashboard flutter-dashboard bot added f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels. labels Aug 16, 2022
@xu-baolin xu-baolin requested a review from Piinks August 16, 2022 13:20
Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This made me chuckle. Thank you for finding and fixing this!
LGTM

@Piinks
Copy link
Contributor

Piinks commented Aug 16, 2022

I am not sure whether need hide the bar if the scrollable do not allow user scroll

This is a good point, but it is possible to have a scrollbar just serve as a passive indicator of scroll position. Someone could have NeverScrollable... on and be manipulating the position using a controller, etc.
Since there are explicit visibility parameters, users could hide it if they want. :)

@xu-baolin xu-baolin added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 17, 2022
@auto-submit auto-submit bot merged commit 3d94a01 into flutter:master Aug 17, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants