-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: qualityA truly polished experienceA truly polished experiencec: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.f: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
I have a few ideas for this, although I will not be able to pursue them now.
Ideally, a re-vamped NestedScrollView would solve these issues (among others, theses are just a few of several that stand out):
- NestedScrollView.body will be disconnected if horizontal #102001
- the new structure would not rely on the PrimaryScrollController, and perhaps introduce a public NestedScrollController that inherits the current existing concept of a NestedScrollCoodinator. This would be similar to widget specific controllers like TabController and PageController, and could grant long requested access to the inner workings.
- ScrollController.maxScrollExtent of NestedScrollView limited to header (outer scroll), doesn't allow for inner CustomScrollView scrolling #62363
- mentioned above, accessing the inner working of the NestedScrollView, or even just accurate metrics can be difficult for users. Any metrics or scroll notifications should be a composite of both scroll views
- NestedScrollView does not support SliverAppBar floating and snapping simultaneously #59189
- similar: Overscrolling outer scrollview / SliverAppBar.stretch does not work in NestedScrollView #54059
- NestedScrollView should support all sliver features and functionality
- Document how NestedScrollView.physics/scrollDirection/reverse affect outer/inner scroll views #45619
- how it is configured should be clearer. right now it can be a mixed bag of configs, creating a host of issues.
- NestedScrollView's use of PrimaryScrollController breaks when there are multiple inner ScrollPositions #40740
- The PrimaryScrollController in the NestedScrollView here is applying the same scroll offset to every attached position, since the NestedScrollView applies scroll deltas to every attached position.
Lastly, it would be awesome if we could do this without breaking anyone. :)
naamapps, medz, sullenel, TahaTesser, SherSahib and 70 moretxufiknr, Saccharine1211, KasperTidemann, rusyaev-dk and jlzhjpfedericodesia, trymnilsen, himamis, arreshashikant, l-7-l and 5 morerasitayaz and jlzhjp
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: qualityA truly polished experienceA truly polished experiencec: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.f: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team