问题
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