Select - bug in expanding options via keyboard Alt+Down


Topic: Select - bug in expanding options via keyboard Alt+Down

meesha81 pro premium priority asked 2 years ago

Expected behavior If you want fill the form via keybord, you jump via tab to the select element. If you want to look at the options, standard key shortcut is Alt+Down for expand options and then choose via arrows/enter.

Actual behavior If you use Alt+Down, select is expanded, but immediatelly collapsed. This can be tested also on your simple/clean examples in the documentation. There is currently no way how to expand select options via keyboard.


Quang Huy Nguyễn pro premium priority commented 2 years ago

wow I didn't even know that combination exist, normally I just hit enter to open it.


meesha81 pro premium priority commented 2 years ago

I would never have expected that I would expand select with enter, because enter is mostly form submit...


meesha81 pro premium priority answered 2 years ago

Any information for this issue, please?


mlazaru staff commented 2 years ago

Enter submits form only when the submit button is focused, so I don't find it confusing.

We want our select to behave like a normal select tag and this one actually works with alt+arrow. We'll need to discuss it in our team.


meesha81 pro premium priority commented 2 years ago

Hi, I have found that alt+arrow down works "fine", but there is maybe keyup or other event which close select after expanded. So this function is propably made up, it just doesn't work very well...


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.1.0
  • Device: PC
  • Browser: CHROME111
  • OS: WIN11
  • Provided sample code: No
  • Provided link: No
Tags