discourse/app/assets/javascripts/select-kit/addon
Penar Musaraj 1b2a1c94d4
A11Y: select kit close on focus out (#21274)
When navigating with the keyboard, the select-kit would not close when
focus was moved to an element outside of the body. For example, when
navigating via Tab or Shift+Tab, once the end (or beginning) of the list
was reached, focus would move out of the SK element, but the SK itself
would stay visible.

Switching from a click event to a focusout event solves the issue and
covers both mouse and keyboard navigation.
2023-05-02 14:22:31 -04:00
..
components A11Y: select kit close on focus out (#21274) 2023-05-02 14:22:31 -04:00
mixins Add replaceContent selectKit modifier (#18569) 2022-10-12 13:38:42 -05:00