-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Autocomplete panel does not reposition on scroll of child element #5797
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
Comments
dupe of #3413 |
@grizzm0 it'll work if you add |
https://stackblitz.com/edit/angular-sc6bfp-ft5zvw?file=app%2Fautocomplete-overview-example.html The issue is still there if you want bigger mat-option content.For example if we set the map-option height style , for example style="height:97px" by navigating with down arrow key the scrolling doesnt work properly |
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?
While scrolling the autocomplete panel should reposition itself to follow the input.
What is the current behavior?
The panel repositions itself while scrolling body but not if the autocomplete is within a child element that has a scroll.
What are the steps to reproduce?
http://plnkr.co/edit/6Wzw5qBuUARyzgqI3foL?p=preview
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: