Skip to content

In some cases (for small-ish chrome windows) not all options are visible/clickable in mat-select. #13829

Open
@pitex

Description

@pitex

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

  1. Open https://material.angular.io/components/select/overview
  2. Scroll to "Select with option groups", so that mat-select is the first thing visible below toolbar
  3. Open the dropdown
  4. Resize the window from the bottom until the lowest option is not visible (it will happen when browser has ~250 pixel height)
  5. 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

Is there anything else we should know?

Screenshot of the issue on the documentation:
screen shot 2018-10-26 at 5 41 42 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    GThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/select

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions