Skip to content

Autocomplete dropdown list does not stick to input field #12500

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

Closed
Konstruktour opened this issue Aug 3, 2018 · 3 comments
Closed

Autocomplete dropdown list does not stick to input field #12500

Konstruktour opened this issue Aug 3, 2018 · 3 comments

Comments

@Konstruktour
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When an animation starts after the autocomplete dropdown has opened, the list should stick to the autocomplete input field.

What is the current behavior?

The list does not stick to the input field.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-dgvxco
mat-autocomplete-bug

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

Angular 6.1.1
Material 6.4.2

@crisbeto
Copy link
Member

crisbeto commented Aug 3, 2018

The dropdown position only gets set when the dropdown is opened. Doing so all the time wouldn't be practical in terms of performance. Once #11495 you can use the updatePosition method to tell it to re-align once your animation is done.

@crisbeto crisbeto closed this as completed Aug 3, 2018
@NithinBiliya
Copy link

I know the issue is closed but I noticed that with mat-select, the scrolling is disabled when the dropdown section is open. Probably autocomplete component should also do the same.

@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 10, 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

3 participants