Closed AleixFerreCP closed 2 weeks ago
@AleixFerreCP thanks for reporting! do you want to fix it?
@AleixFerreCP thanks for reporting! do you want to fix it?
I can't fix it myself right now, but I'd appreciate it if you could take a look when you can.
The problem is this line:
however, this is needed to avoid the mat-option from being announced as an option, see https://github.com/bithost-gmbh/ngx-mat-select-search/pull/392. not sure whats the best way to solve this
You can try to set the role of it to presentation. Although I did not test it, I think this could work.
this.matOption._getHostElement().setAttribute('role', 'presentation');
You can try to set the role of it to presentation. Although I did not test it, I think this could work.
this.matOption._getHostElement().setAttribute('role', 'presentation');
That sounds like a good suggestion! @escheiermann @AleixFerreCP would you be able to test this?
Yesterday, I published a simple PR to fix this issue. Can you check it out, please?
Describe the bug
Only the first time you open the dropdown, the console shows an error. See the logs for the full detailed error.
To Reproduce
Expected behavior
This error should not appear on the console and it should be accessible by default.
Screenshots
https://github.com/user-attachments/assets/ccd05885-872f-4b49-830c-a632d3c39aab
Desktop (please complete the following information):
Smartphone (please complete the following information): Not tested