-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input hints can only contain single-line text #3337
Comments
+1 |
2 similar comments
+1 |
+1 |
@mmalerba the issue has been fix? |
+1 |
1 similar comment
+1 |
@finalxcode This one is still in discussion but I'm sure we will see this getting fixed within the next weeks after ng-conf. The conference is most likely the reason why the team is currently not that active here on the repo. |
@dahaupt thanks |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Bug/Feat/Proposal
What is the expected behavior?
As you can see in Angular Material 1, I would expect the hint text to stay below the input field even when it contains more than one line of text .
What is the current behavior?
md-hint element's content is overlapping the corresponding input field if the hint contains multi-line text, due to the CSS rules that are applied to md-hint elements by default. I.E. position:absolute and bottom: 0
What are the steps to reproduce?
Just add a multi-line text into a md-hint.
What is the use-case or motivation for changing an existing behavior?
It'd be useful to have multi-line hints under some input field to point out several warnings in a form at the same time.
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.4.8
Material 2.0.0-beta.2
on latest versions of Chrome and Firefox
Is there anything else we should know?
Maybe you should reconsider the absolute positioning of the md-hint element to solve this issue.
The text was updated successfully, but these errors were encountered: