Skip to content

[two_dimensional_scrollables] TableView pinned rows and columns should warn if pinned spans exceed viewport dimensions #136833

Description

@Piinks

Since pinned rows and columns do not scroll, we should assert they are all contained within the viewport.
Edge case to also consider: If there are pinned rows/columns that consume the full extent of the viewport, and there are additional unpinned children we should probably also assert, since the additional children will never be visible to the user.


Update: Rather than asserting here, we should probably just surface a non-fatal warning of some kind. A good example of this is in Google sheets. If you freeze rows/columns beyond the window size, it is allowed, but a small dialog pops up to inform the user they cannot scroll anything in to view in that configuration.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listf: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.p: two_dimensional_scrollablesIssues pertaining to the two_dimensional_scrollables packagepackageflutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions