Skip to content

md-select does not disable scrolling of page when open #4085

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
kblestarge opened this issue Apr 13, 2017 · 2 comments
Closed

md-select does not disable scrolling of page when open #4085

kblestarge opened this issue Apr 13, 2017 · 2 comments

Comments

@kblestarge
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Page shouldn't scroll when select is clicked and options are shown. See main example.

What is the current behavior?

Page scrolls. Scrolling is not disabled.

What are the steps to reproduce?

Using materials v2.0.0-beta.3, add this code into the template of a component:

<md-select [(ngModel)]="address.state" name="State" placeholder="State">
            <md-option *ngFor="let state of states" [value]="state">{{ state }}</md-option>
</md-select>

then open the select box, and scroll on the page.

What is the use-case or motivation for changing an existing behavior?

Better user experience.

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

@angular/cli: 1.0.0
node: 6.9.3
os: darwin x64
@angular/animations: 4.0.2
@angular/common: 4.0.2
@angular/compiler: 4.0.2
@angular/compiler-cli: 4.0.2
@angular/core: 4.0.2
@angular/forms: 4.0.2
@angular/http: 4.0.2
@angular/material: 2.0.0-beta.3
@angular/platform-browser: 4.0.2
@angular/platform-browser-dynamic: 4.0.2
@angular/platform-server: 4.0.2
@angular/router: 4.0.2
@angular/cli: 1.0.0

@jelbourn
Copy link
Member

Now tracking via #4093

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

2 participants