I'm very curious, through moti on the web, how should I implement a Select component, and how should I determine if it clicks on an element outside the component? Does moti support the global document.click event? By the way, I found that in the warehouse This example seems to be unavailable.https://github.com/nandorojo/moti/blob/master/docs/docs/examples/dropdown.md
When hovering to dropdown, the entire dropdown disappears. Do you know why?
Is there an existing issue for this?
Do you want this issue prioritized?
Current Behavior
I'm very curious, through moti on the web, how should I implement a Select component, and how should I determine if it clicks on an element outside the component? Does moti support the global document.click event? By the way, I found that in the warehouse This example seems to be unavailable.https://github.com/nandorojo/moti/blob/master/docs/docs/examples/dropdown.md When hovering to dropdown, the entire dropdown disappears. Do you know why?
Expected Behavior
No response
Steps To Reproduce
No response
Versions
Screenshots
No response
Reproduction
https://github.com/nandorojo/moti/assets/58379214/ae7cf8a4-9db6-4631-8fee-6c0339ebcd09