Skip to content

Hint text should disappear instead of fade out #20283

@jklint-g

Description

@jklint-g

The InputDecorator has an AnimatedOpacity transition for hiding/showing the hint text https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/input_decorator.dart#L1695

However, the hint text should disappear/appear immediately upon the user entering or clearing text (or maybe make this animation configurable/optional?).

The overlapping of the hint text and the newly-entered text during the fade is a little disorienting. Compare this with native apps like Gmail or Tasks or Maps, where the hint text cuts instantly instead of fading.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms bettera: qualityA truly polished experiencec: new featureNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.found in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6frameworkflutter/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-designOwned by Design Languages team

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions