You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure why it happened in my project - the dropdown behaviour has been logical and straightforward and peachy and all - until I did the following:
click the select (button)
the list of options will be shown
click another select
the list of this select's options will be shown BUT the previous list will not be closed
I ended up with 6 opened dropdowns until I picked an option or clicked somewhere else.
Found out you just need to comment out the e.stopPropagation() in the button click handler:
I'm not sure why it happened in my project - the dropdown behaviour has been logical and straightforward and peachy and all - until I did the following:
I ended up with 6 opened dropdowns until I picked an option or clicked somewhere else.
Found out you just need to comment out the
e.stopPropagation()
in the button click handler:which will close all potential opened dropdowns before opening the clicked one.
Apologies for my clumsy explanation. I hope you get what I mean :)
The text was updated successfully, but these errors were encountered: