Skip to content
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

How to set width of autocomplete popover #3643

Closed
doorman02 opened this issue Mar 16, 2017 · 9 comments
Closed

How to set width of autocomplete popover #3643

doorman02 opened this issue Mar 16, 2017 · 9 comments

Comments

@doorman02
Copy link

Bug, feature request, or proposal:

Feature Request

What is the expected behavior?

The width of the autocomplete popover should be customizable

What is the current behavior?

The width is very small

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U

What is the use-case or motivation for changing an existing behavior?

Content of the autocomplete can vary in size

Which versions of Angular, Material, OS, browsers are affected?

Latest angular material, chrome

Is there anything else we should know?

@willshowell
Copy link
Contributor

Looks like a dupe of #3198 and was fixed by #3297.

@doorman02
Copy link
Author

Hi @willshowell will this fix be included in the next beta release? Do you know when it is planned?

@willshowell
Copy link
Contributor

It should be a part of the next beta release, but I have no clue when it's planned. I'd guess early April probably?

If you want to go ahead and use all the latest changes, you can do this: (from the README)

npm install --save https://github.com/angular/material2-builds.git

@jelbourn
Copy link
Member

Closing as duplicate of #3198

@thw0rted
Copy link

This was not exactly fixed in #3297. That disabled the (erroneous) max-width constraint, but there is still no way to control the width of the autocomplete independent from the "parent" input. The original request is that it should be "customizeable".

@willshowell
Copy link
Contributor

@thw0rted see #6618 for adding a panel class

@thw0rted
Copy link

That's not actually in the release version yet, though, right? I don't know how the release cycle works; when I can expect an npm install to include this?

@willshowell
Copy link
Contributor

willshowell commented Sep 12, 2017

@thw0rted no it isn't available yet - figured you may want to subscribe to it for updates. Once it's reviewed and merged, it will be available via the master-builds. Releases have typically happened ~monthly, but I think the goal is to increase the frequency.

EDIT: maybe look at #4196 (comment) for a workaround

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants