You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
(focus)="matselectTemplateRef.open()
Along with it one more click event is used. we use both event for same mat-select and on focus if we call open() then only focus is triggered for both click and focus event.
Why you are forcing the select dropdown to open upon focus? While visually it might look better, it kind of goes against how other dropdowns usually work. I would recommend not adding this behavior since it would be a bit jarring for screenreader users who are navigating a page and suddenly have an open select dropdown they did not decide to open yet. I think keeping the behavior to other select dropdowns is the best experience for users.
Is this a regression?
The previous version in which this bug was not present was
No response
Description
(focus)="matselectTemplateRef.open()
Along with it one more click event is used. we use both event for same mat-select and on focus if we call open() then only focus is triggered for both click and focus event.
https://stackblitz.com/edit/w6h39v-nzk8nh?file=src%2Fexample%2Fselect-multiple-example.html
Reproduction
StackBlitz link:
Steps to reproduce:
2.On focus call matselect open() method.
Expected Behavior
On click , click event to be triggered.
Actual Behavior
On click, focus is triggered if we use open method on focus for both click and focus
Environment
All environment
The text was updated successfully, but these errors were encountered: