I'm submitting a ... (check one with "x")
[x] bug report
Current behavior
When you click into p-dropdown or p-calendar, it opens the dropdown/datepicker. When I am tabbing around the inputs with the keyboard, p-calendar opens the datepicker when focused, but dropdowns dont open when it receives focus from the keyboard tabbing.
What is the motivation / use case for changing the behavior?
Proper focus behavior and styling on :focus is important for accessibility
It should not receive focus as this behavior is based on native select element, at least on mac. You can use alt+down to open it while it has focus. If more users demand this, I guess we can add openOnFocus property in the future.
For example try to focus the select at;
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select
For me on mac, it does not open. alt+down opens it though just like p-dropdown.
@cagataycivici Thanks for the clarification. I would definitely toss in my hat for an openOnFocus feature. Thanks!
Most helpful comment
@cagataycivici Thanks for the clarification. I would definitely toss in my hat for an openOnFocus feature. Thanks!