Closed
Description
Bug, feature request, or proposal:
tool tip is not support on regular multiline
What is the expected behavior?
if we use the \n or the es6 string template literal(backtick ``), the break line will work
What is the current behavior?
tool tip string is not break line
What are the steps to reproduce?
put long string with /n or with back tick and see the tooltip that the words dont break lines
What is the use-case or motivation for changing an existing behavior?
Supporting multi line is very common and important
Which versions of Angular, Material, OS, browsers are affected?
2.0.0-beta.2, Latest Chrome, Windows 10
Is there anything else we should know?
One Solution for that is refactor the .mat-tooltip class, and add one more property:
.mat-tooltip {
white-space: pre-line;
}