Closing React Modal with onRequestClose or with closeTimeoutMS

后端 未结 0 999
小鲜肉
小鲜肉 2020-12-07 03:41

Having a problem trying to close the Modal when a user clicks outside the Modal (on the overlay) or if x seconds have passed. How do I get both functionality?

React M

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