Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10 Close other multiselects on open #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pgarrison
Copy link

We now use the :focus-within selector to handle opening & closing the
dropdowns.

  • :focus-within is supported by all major browsers as of January 2020
  • The global hideMultiselects function has been removed since we
    aren't using it. This is a breaking change, but it was never publicly
    documented and I don't see much use case for it anymore. In case someone
    was using hideMultiselects, they can now use
    document.activeElement.blur() instead.

Closes #10

We now use the `:focus-within` selector to handle opening & closing the
dropdowns.
* `:focus-within` is supported by all major browsers as of January 2020
* The global `hideMultiselects` function has been removed since we
aren't using it. This is a breaking change, but it was never publicly
documented and I don't see much use case for it anymore. In case someone
was using `hideMultiselects`, they can now use
`document.activeElement.blur()` instead.
@chepo92
Copy link

chepo92 commented Dec 10, 2021

@mneofit

@benoitMouly
Copy link

Damn thank you so much @pgarrison it saves my life ! :p
Usefull when you have multi multiselects !

@pgarrison
Copy link
Author

pgarrison commented Oct 6, 2022

Since it seems like this repository is unmaintained, if anyone wants to continue development I am happy to add maintainers to my fork, though I am not actively working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

close other multiselects on open
3 participants