React - what is wrong with my custom hook for click outside of element?

后端 未结 0 846
清酒与你
清酒与你 2021-01-04 02:08

I have a custom hook for click outside of element in a menu. What happens is: when i click on "open menu", it opens menu, when i click outside it closes it (all go

相关标签:
回答
  • 消灭零回复
提交回复
热议问题