p5.js
p5.js copied to clipboard
Mouse/touch is being triggered twice again on mobile
Nature of issue?
- [x] Found a bug
- [ ] Existing feature enhancement
- [ ] New feature request
Most appropriate sub-area of p5.js?
- [ ] Color
- [ ] Core
- [x] Events
- [ ] Image
- [ ] IO
- [ ] Math
- [ ] Typography
- [ ] Utilities
- [ ] WebGL
Which platform were you using when you encountered this?
- [x] Mobile/Tablet (touch devices)
- [ ] Desktop/Laptop
- [ ] Others (specify if possible)
Details about the bug:
-
p5.js version: 0.5.11
-
Web browser and it's version: Google Chrome v59
-
Operating System: Android
-
Steps to reproduce this:
-
See the following CodePen example using an Android mobile device with Google Chrome as the browser.
-
Select the Test button.
-
Notice that the alert is triggered twice instead of once.
NOTE: This doesn't appear to be a problem on iOS or desktop.
Duplicate of #1815