This is my code. i've been working 2 hours on trying to find a way to close the dropdown on click... How can I achieve this?
There is an open attribute...How do I get the reference to it on the handler? I tried using useRef() whitout any success. i cannot find the proper type... :(
Hi all,
This is my code. i've been working 2 hours on trying to find a way to close the dropdown on click... How can I achieve this?
There is an open attribute...How do I get the reference to it on the handler? I tried using useRef() whitout any success. i cannot find the proper type... :(