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

mat-select is scrolling up when selecting #18154

Closed
Merwan1010 opened this issue Jan 11, 2020 · 2 comments
Closed

mat-select is scrolling up when selecting #18154

Merwan1010 opened this issue Jan 11, 2020 · 2 comments

Comments

@Merwan1010
Copy link

Merwan1010 commented Jan 11, 2020

Reproduction

ezgif-3-99fed5f7556f
StackBlitz issue

Steps to reproduce:

  1. Change the height of mat-option to unset;
  2. Scroll down and select a value

Expected Behavior

The mat-select component shouldn't be scrolling up when selecting a value.

Actual Behavior

The component scroll up when selecting a value.

Environment

  • Angular : 8.1.3
  • CDK/Material: Angular Material design
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): MacOS Mojave 10.14
@crisbeto
Copy link
Member

The select expects options to be of a certain height and we currently don't support overriding it so you're doing it at your own risk.

@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 Feb 11, 2020
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

2 participants