Skip to content

fix(chips): focus lost if last chip is deleted #15344

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

Merged
merged 1 commit into from
May 13, 2019

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Feb 28, 2019

Fixes the user's focus being lost if they delete the last chip in a list.

Fixes #15338.

@crisbeto crisbeto added Accessibility This issue is related to accessibility (a11y) target: patch This PR is targeted for the next patch release labels Feb 28, 2019
@crisbeto crisbeto requested a review from jelbourn as a code owner February 28, 2019 21:25
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 28, 2019
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one small comment

@crisbeto crisbeto force-pushed the 15338/last-chip-focus branch from 29cee69 to e933dbe Compare April 2, 2019 05:26
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Apr 2, 2019
@swseverance
Copy link
Contributor

Hi all - would be great if this could be added to an upcoming release. Thank you

@jelbourn
Copy link
Member

@crisbeto this passes presubmit but CircleCI is failing

Fixes the user's focus being lost if they the last chip in a list.

Fixes angular#15338.
@crisbeto crisbeto force-pushed the 15338/last-chip-focus branch from b8b7a3e to 1fefc0c Compare May 13, 2019 15:48
@crisbeto
Copy link
Member Author

Rebased and fixed the CI failure. Looks like a property in one of the fixture components got renamed.

@jelbourn jelbourn merged commit 5fb6125 into angular:master May 13, 2019
RudolfFrederiksen pushed a commit to RudolfFrederiksen/material2 that referenced this pull request Jun 21, 2019
Fixes the user's focus being lost if they the last chip in a list.

Fixes angular#15338.
@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 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accessibility This issue is related to accessibility (a11y) action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Focus escapes from mat-dialog with mat-chip-list
5 participants