-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat(material/autocomplete) settable height of option; settable height of panel #18047
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
feat(material/autocomplete) settable height of option; settable height of panel #18047
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
f4d6c4e
to
1fa23fa
Compare
There are so many github and stackoverflow issues related to this. Please get it merged. :) |
cb93e44
to
d783358
Compare
Fixed |
Is there any update on this PR/Feature it sounds like it is a pretty requested future and I am personally also waiting for this. |
pull request was created in 2019. All checks were good. A couple of times I've updated a pull-request to fit last updates of master. But it looks like nobody interests; even the community asks for such changes. Well, I also don't have time to resolve every few weeks of new conflicts, without any kind of feedback from developers. Sorry. |
Wouldn't it be better if we could provide the heights with InjectionToken too? 😇 We need this feature too in many places. |
…t of panel Allows defining a height of option and a height of panel by setting optionHieght or/and panelHeight inputs on mat-autocomplete component. Fixes: angular#18030 Related to: angular#3810, angular#10038
a6096ff
to
e41425f
Compare
@Totati All conflicts are resolved. |
We're not sure that this is something we can support once the autocomplete is based on MDC-web, so any progress on this feature is blocked until that's further along. |
@jelbourn Thanks for the reply first of all. Why MDC should block this feature? As default autocomplete component will fit MDC completely. But optionally, optionally, it would be great to have a way to change the height of items inside. Really, there are so many cases where >40px of height is too much. |
It's just of making sure it integrates well into the system. The biggest part is ensuring that it fits with density API we're adding in https://github.com/angular/components/tree/density-api (which is on top of MDC's density API). Ideally I want to avoid adding run-time APIs (which increase the JS size) for theming-related concerns, which includes density. |
@jelbourn can I help somehow? I don't know, maybe change code somehow?
So, there is not so much JS stuff. In any way, can I do something to help you and angular team with it? |
Probably not until we make more progress with the MDC-based version of |
Once #20324 goes in you'll be able to control the option height through CSS so these changes shouldn't be necessary. |
Closing since the change should be fixed with #20324 |
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. |
feat(material/autocomplete) settable height of option; settable height of panel
Allows defining a height of option and a height of panel by setting
optionHieght
or/andpanelHeight
inputs onmat-autocomplete
component.Fixes: #18030
Related to: #3810, #10038