Open
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
In small windows, all options in mat-select should be visible for users.
What is the current behavior?
In some cases, the last option is not visible.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
- Open https://material.angular.io/components/select/overview
- Scroll to "Select with option groups", so that mat-select is the first thing visible below toolbar
- Open the dropdown
- Resize the window from the bottom until the lowest option is not visible (it will happen when browser has ~250 pixel height)
- Scroll the dropdown to the bottom, last item is not visible at any point
Now closing/reopening won't change the position of select overlay.
What is the use-case or motivation for changing an existing behavior?
We've got a bug report from user that one of the options is not available in the dropdown, and we found out that it was caused by this bug.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 7.0.0, Material: 7.0.1, Chrome version 70.0.3538.77