Multivalue dropdown does not close on outside click after selecting a value #5493
Unanswered
helenalissenko
asked this question in
Q&A
Replies: 1 comment
-
Hi @helenalissenko, Code for dropdown.tsx:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two multi value dropdowns as part of a bigger filter component. The issue I am encountering is when you open one of the dropdowns, select one or more values and click outside of it, then the dropdown does not close.
If you click outside of the dropdown without selecting any value then it closes as expected. If you select a value and close the dropdown by clicking in the control and open it again, then it closes on outside click.
Code to reproduce the issue is here: https://codesandbox.io/s/nervous-wildflower-evmi0z
Does anyone have any idea why this is happening?
Beta Was this translation helpful? Give feedback.
All reactions