Skip to content

Flow and Opacity don't play well together with hit testing #6100

@abarth

Description

@abarth

The Flow widget does a bunch of interesting work during paint. If the Flow widget is inside an Opacity widget with opacity of 0.0, then the Flow will never get to paint. That confuses the hit testing logic for Flow, which assumes that the data generated during paint is available and up-to-date.

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectfound in release: 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions