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

Dialog does not restore focus to the element on which it was called #14782

mSutkevicius opened this Issue Jan 10, 2019 · 1 comment


None yet
2 participants
Copy link

mSutkevicius commented Jan 10, 2019

What is the expected behavior?

When I close dialog it should return focus to the element on which the dialog was called.

What is the current behavior?

After transitioning from angular/material 6.2.1 to 7.1.0 it stopped working. If I go back to v6.2.1 it works fine/as expected.

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

Currently I am on 7.1.0

Is there anything else we should know?

I've tried bumping to the latest version, but it's not working as expected either.


This comment has been minimized.

Copy link

andrewseguin commented Jan 10, 2019

The overview example from the docs show that this behavior is still working. Please re-open this issue if you can provide a reproduction of the problem, so that we can investigate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment