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
mat-option: Unable to Set Height #8054
Comments
Closing as a duplicate of #3419. Also FWIW, setting the option height has never been supported. |
@crisbeto Fair enough on the dupe I suppose but I can confirm to you that explicit height on https://plnkr.co/edit/RkT5Y7JPq5mmqrp9A1QY?p=preview Although I understand the difference between "working" and "supported"...however just to point that out. |
Yep it may have worked, but all our calculations are based around a certain height for the options. |
Bummer. OK thanks for clearing that up. |
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
What is the expected behavior?
Changing the height of a
mat-option
element shouldn't impact where the selected item appears insidemat-select-content
What is the current behavior?
Pre Beta.12 setting an explicit height for
mat-option
worked as excepted. Post Beta.12 modifying the option height makes the selected option appear outside the visiblemat-select-content
area.What are the steps to reproduce?
https://plnkr.co/edit/CULSXZovARH9HdKFm3d4?p=preview
This is a standard
mat-select
with an explicit height set onmat-option
(35px).Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 4.4.3
Material: 2.0.0-beta.12
OS: Windows 10
Typescript: 2.2.2
Browser: Chrome Version 61.0.3163.100 (Official Build) (64-bit)
Many apologies guys if this one is already logged too. I am searching around before logging but sometimes it's hard to find open/related issues.
Thanks so much!
The text was updated successfully, but these errors were encountered: