Skip to content

Tooltip backgrounds only span the first line of text. #2205

Closed
@hans-pragt

Description

@hans-pragt

Bug, feature request, or proposal:

When the text of a tooltip spans multiple lines, only the first line will have a background.

What is the expected behavior?

The tooltip background is behind all lines of text.

What is the current behavior?

The tooltip background is only behind the top line of text.

What are the steps to reproduce?

http://plnkr.co/edit/GKaAf1dfZWqa3cWC0pSy?p=preview

Mouse over the button in the right of the toolbar.

Which versions of Angular, Material, OS, browsers are affected?

Material 2.0.0 alpha 11, Chrome 54.0.2840.99 m

Is there anything else we should know?

The link to the recommended plunkr in the issue template uses alpha 10, which does not have the wrapping behavior for tooltips.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions