maxmarcon / live_select

Dynamic (multi)selection field for LiveView
https://hex.pm/packages/live_select
Apache License 2.0
173 stars 32 forks source link

Dropdown menu should open when the input field is clicked, rather than focused #49

Open egeersoz opened 10 months ago

egeersoz commented 10 months ago

Right now, in order to select multiple options from the dropdown menu, you need to:

  1. Click the input element (which focuses it)
  2. Select an option
  3. Click off the field to blur it
  4. Click on the field to re-focus it

This is not good UX. The dropdown menu should open when the input field receives a click event.

maxmarcon commented 9 months ago

Thanks for pointing this out.

Can you please test the latest main? The behavior should now be as you expect.