When clicking outside of the dropdown, the dropdown should close.
The dropdown doesn't close.
If you skip step (3) above, the dropdown closes as expected
0.81.1
馃憢 Thanks for opening your first issue here! If you're reporting a 馃悶 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
I was working on a related issue the other day and ran out of time. I think we need to:
handleClose method in the Dropdown.attachHandlersOn* where * is the event or action. Example, we have attachHandlersOnOpen, but not for close, focus, blur, etc.attachHandlersOn* method.When I was testing this locally, removing handleClose and consolidating our sub/unsub calls seemed to resolve past and present open/close/focus/blur bugs.
Possibly related: #2744
Thanks.
I just wanted to point out another use-case (more common):
Instead of step (3) you can select an option and then remove it (by clicking its x). Same behavior.
Is there a manual workaround I can implement in JS?
Hi, I've the same issue.
just wanted to point out another use-case (more common):
Instead of step (3) you can select an option and then remove it (by clicking its x). Same behavior.
@GuyShaanan this was fixed in 0.82.2
Regarding what was initially described in bug report, second click on "State" misses input element and input becomes not in focus anymore.
Multiple search selection sets width: 2.2em for input element, so its easy to miss it.
@krnkl Can confirm it works in 0.82.2.
Thanks!
Confirmed, works fine in the latest.
Most helpful comment
Thanks.
I just wanted to point out another use-case (more common):
Instead of step (3) you can select an option and then remove it (by clicking its x). Same behavior.
Is there a manual workaround I can implement in JS?