2.1.8
在IOS系统的微信的HTML5页面中,React 16.3.0, Next.js 5.1.0
https://mobile.ant.design/components/modal-cn/
点击按钮后,onPress 方法不执行,alert模态框 不关闭
执行按钮操作,并关闭模态框
点击模态框中的任何按钮都没有反应
Translation of this issue:
2.1.8
In the HTML5 page of WeChat on IOS system, react 16.3.0
[https://mobile.ant.design/components/modal-en/] (https://mobile.ant.design/components/modal-en/)
After the button is clicked, the onPress method is not executed and the alert modal box is not closed
Perform a button operation and close the modal box
Click on any button in the modal box does not respond
you need fastclick
import fastclick from 'fastclick'
fastclick.attach(document.body, {})
the same problem.
这个问题的解决方法 是什么?
Most helpful comment
you need fastclick
import fastclick from 'fastclick'
fastclick.attach(document.body, {})