Skip to content

AppBar.scrolledUnder needs update for 2D scrolling #121296

@Piinks

Description

@Piinks

Part of the 2D scrolling proposal: flutter.dev/go/2D-Foundation

The AppBar scrolled under behavior assumes any horizontal scroll notification means a vertical axis can't possibly be be currently scrolled under the AppBar. In 2D, this will not longer be true.
For 2D friendliness, it should just not do anything if a horizontal scroll notification passes the notification predicate, especially since it is already configured to only apply to only the vertical axis.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listf: material designflutter/packages/flutter/material repository.f: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions