Closed khamer closed 2 years ago
Because focusout events don't reliably have a relatedTarget, this add a global listener while the dropdown is open to handle clicking outside of the dropdown properly.
Because focusout events don't reliably have a relatedTarget, this add a global listener while the dropdown is open to handle clicking outside of the dropdown properly.