mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:12:46 +08:00
1b2a1c94d4
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. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |