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

fix(chips): programmatically selected chip stealing focus #7978

Merged
merged 1 commit into from
Nov 2, 2017

Commits on Oct 23, 2017

  1. fix(chips): programmatically selected chip stealing focus

    Currently chips that are selected programmatically (e.g. by setting the of `ngModel`) will moves focus to themselves, causing the page the scroll down. This can be observed in the demo app where the bottom chip instances have a preselected value which shifts focus to the bottom. These changes fix the issue by only moving focus if the selection was a result of a user interaction.
    crisbeto committed Oct 23, 2017
    Configuration menu
    Copy the full SHA
    e652ae4 View commit details
    Browse the repository at this point in the history