Skip to content

Cupertino Sheet should have drag to dismiss and nested scrolling work together #161687

@MitchellGoodwin

Description

@MitchellGoodwin

On native iOS, when you have a sheet open with scrollable content, if you start scrolling, it will scroll normally. But then when you drag downwards, once you reach the top of the scrollable content, the sheet starts it's drag to dismiss gesture. Then if you drag back up again, once the the sheet reaches it's original height, the nested scroll starts back up again.

Screen.Recording.2025-01-15.at.10.37.59.AM.mov

In Flutter currently we can either give the nested scroll or the drag to dismiss gesture priority. And we can't switch back and forth between either animations on one drag event.

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms betterf: cupertinoflutter/packages/flutter/cupertino repositoryf: scrollingViewports, list views, slivers, etc.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions