Repository navigation
Let scrollbars avoid obstructing slivers and media query paddings #13253
Description
Activity
- addedc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityp: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesf: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.
on Nov 29, 2017 - addedp: cupertino_uicupertino_ui package in flutter/packagescupertino_ui package in flutter/packages
on Nov 29, 2017 - changed the title
[-]Let scrollbars avoid obstructing slivers[/-][+]Let scrollbars avoid obstructing slivers and media query paddings[/+]on Nov 30, 2017 Also avoid media query partial obstructions
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
on Jul 22, 2018 This issue isn't closed yet is it? Since there's still the sliver half of it.
It was closed because I put partially fixes in my PR.
11 remaining items
@xster no unfortunately.
Any progress?
Reacted by Agon NogaAlso somewhat relevant for #87370 to avoid drawing the scrollbar on top of pinned header rows, for example.
- addedP1High-priority issues at the top of the work listHigh-priority issues at the top of the work listand removedP2Important issues not at the top of the work listImportant issues not at the top of the work list
on Sep 14, 2021 any progress?
Reacted by Agon Noga, Jagmit Singh, Nate Frechette and Yakovlev MaximI have a proposal for this that should be up for review this week.
I just noticed this is also something the MaterialBanner would want to support. Currently it would overlap a SliverAppBar, just like a Scrollbar does. I need to test this new use case to make sure it works too before pushing the changes.
I'll probably land the ability to surface this information to these widgets, and then update each widget in a separate follow up change.Reacted by Jagmit Singh, TheJulianJES, Tom Gilder, braj065, Kyle Venn, Adam, Agon Noga, Anthony Moretti and Fernando RosentalskiClosing this to consolidate in #107322
In researching a solution, I found a pattern of the same issue across multiple widgets in the framework. There is a full list in that tracking issue, including scrollbars.I have a proposed solution in #107182 that will fix this consistently across all affected parts of the framework. That PR will be split up into multiple PRs to address each widget that needs this fix, just finishing the many test cases now. Please continue to follow in #107322, I expect all of thees changes to be landing soon.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Jul 22, 2022
Internal: b/144318472
Consider a CustomScrollView with a SliverAppBar and a SliverList and the user wants a scrollbar showing the position inside the SliverList's contents only.
Let the SliverAppBar report SliverGeometry describing its obstructing and max obstructing extends. Let that get aggregated by the scrollable and bubbled up with a scroll notification so the scrollbar can start below the obstructing area.