Skip to content

Tooltip: Have preferBelow default to false instead of true #133006

@chrisbobbe

Description

@chrisbobbe

Is there an existing issue for this?

Use case

(All use cases for the Tooltip widget.)

Proposal

Tooltip.preferBelow defaults to true, but when the tooltip appears below instead of above, it's likely to be partly hidden under a user's finger or cursor. So I think false is a better default.

The Material Design 3 doc agrees:

By default, plain tooltips are positioned directly above the parent element.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-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