Skip to content

Tooltip with long text is not wrapping nicely #86170

@claudiofelber

Description

@claudiofelber

The Tooltip widget is not wrapping long text nicely. If it has do display a multiline text it convers the whole viewport width and uses a vertical padding that is too small.

This is the rendering of a long text:

This is what I would expect instead:

You can play around with an example in the following dartpad (just make sure to make the output window narrow enough):
https://dartpad.dev/?id=c7c2d0dc0dba9f4d1915a00f67029d17&null_safety=true

Metadata

Metadata

Assignees

Labels

a: qualityA truly polished experiencef: material designflutter/packages/flutter/material repository.found in release: 2.10Found to occur in 2.10found in release: 2.13Found to occur in 2.13frameworkflutter/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 version

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions