DropdownButton UI component from `@dhis2/ui` library causes text fields within the same screen to not respond to keyboard inputs

Hello,

When using the DropdownButton component from the UI library alongside a text input (or any input that accepts keyboard values), I’m faced with an issue where the text input does not respond to keyboard inputs. I can, however, paste the text into the field.

I have here a minimal example to show what is happening

May I have assistance with this?

Thanks.

2 Likes

Thanks a lot for the bug-report, and complete example! This is a bug related to ongoing accessibility improvements. I’ve made a fix: fix(drop-down): dont swallow keyDown events unless its esc and open by Birkbjo · Pull Request #1529 · dhis2/ui · GitHub and it will hopefully be released asap.

2 Likes

Thanks @birkbjo & @tzemp!

2 Likes