Mobile Safari click event 'detail' property is always 1

谁说我不能喝 提交于 2019-12-24 08:59:54

问题


UIEvent.detail property should contain the current click count. MDN web docs tells that the property is fully supported on all modern browsers, and it works correctly on all browsers I tested, except mobile Safari. I tried my Angular app and MDN sample on IOS 12.3.1, and the detail property is always 1, no matter how many clicks were done. Is it mobile Safari problem? Any workaround (without counting the clicks manually)?

来源:https://stackoverflow.com/questions/56441621/mobile-safari-click-event-detail-property-is-always-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!