You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the input container is being cut off because they're inside of an md-list-item. The items are, per Material Design spec, 48px. The input, however, will have a height based on whatever the current font-size is. I haven't found any commits in Angular Material in that date range that would have caused this to change- are there any other style dependencies in your app that could have been modified?
It's somewhat strange to form inputs of list items like this; md-list is primarily intended to show items either purely for display or that have discrete actions (https://material.io/guidelines/components/lists.html).
My recommendation would be to avoid using md-list in this context. Alternatively, if that doesn't work for whatever reason, you can customize the height of the .mat-list-item to be larger and not cut off the inputs.
Activity
jelbourn commentedon Apr 13, 2017
It looks like the input container is being cut off because they're inside of an
md-list-item. The items are, per Material Design spec, 48px. The input, however, will have a height based on whatever the currentfont-sizeis. I haven't found any commits in Angular Material in that date range that would have caused this to change- are there any other style dependencies in your app that could have been modified?It's somewhat strange to form inputs of list items like this;
md-listis primarily intended to show items either purely for display or that have discrete actions (https://material.io/guidelines/components/lists.html).My recommendation would be to avoid using
md-listin this context. Alternatively, if that doesn't work for whatever reason, you can customize the height of the.mat-list-itemto be larger and not cut off the inputs.geelus commentedon Apr 14, 2017
Hi Jeremy
All we did was to upgrade to the new version and now we're having this issue across the entire application.
There is no other style dependencies in our app that could have contributed on this issue.
So do you mean this won't ever be fixed and this is not a bug? Can you please confirm so that we can work on an internal solution workaround?
Thanks
willshowell commentedon Apr 14, 2017
@jelbourn it actually does looks like this was a side effect of upgrading to beta3 via #930.
Note that list items now use the
md-rippleattributeAlso note that
.mat-rippleaddsoverflow: hiddenEven more (and what could probably be considered a bug) is that you cannot remove the
.mat-rippleclass by using[disableRipple]="true".[-]placeholder cuts off in a list[/-][+]placeholder gets cut off in a list[/+]jelbourn commentedon Apr 20, 2017
@willshowell that does seem like an issue- file a specific bug for that?
willshowell commentedon Apr 20, 2017
@jelbourn already at #4156!
angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.