Open
Description
Reproduction
Steps to reproduce:
- Go to the Stackblitz or to the bottom example
- Click the "close" or "previous" button to close the panel
Expected Behavior
Panel should close, nothing more.
Actual Behavior
Panel header is "focused", which looks odd considering you just tried to close it (and potentially even changed to another open panel).
If this is intended, is there any way to programmatically remove focus to fix it?
Environment
- Angular: 12.0.3 (as seen in the Stackblitz)
- CDK/Material: 12.0.4 (as seen in the Stackblitz)
- Browser(s): Chrome 91.0.4472.77 (Official Build) (64-Bit) (cohort: Stable)
- Operating System: Windows