Skip to content

DropDown have the ghost of a SizeObserver inside them #5751

@Hixie

Description

@Hixie

The way we handle the initial scroll offset means that we take two frames to render a dropdown. We should be able to compute the scroll offset at layout time and set it then, before paint, rather than requiring a loop through build via scrollTo().

See also #5750 about making DropDown lazy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.perf: speedPerformance issues related to (mostly rendering) speedteam-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