Touch on mobile/Safari browser does not work on "full" sketches
p5.js version
2.3.0
What is your operating system?
None
Web browser and version
ios safari
Actual Behavior
In a sketch like this one, mouseX/mouseY is controlled by touch when editing and running sketch in the editor. However, in "full" mode, touch is not responsive on ios mobile.
Expected Behavior
Both /sketches/ and /gull/ URLs provide p5.js previews with the same handling of touch events
Steps to reproduce
In "full" mode of this sketch, touch is not responsive on ios mobile.
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
circle(mouseX, mouseY, 20);
}
Confirming here that I'm not able to have touch work on my iOS mobile device when I'm in Safari, but I am able to get it to work when using Chrome and Firefox. Though, the touch on Chrome and Firefox jostle the page around quite a bit and causes it to keep refreshing 😅
hi @ksen0 i would like to work on this issue
Hello @raclim I would like to work on this one! Could you please assign
hi both @Kavya-Goyal-kcoder005 this is still marked as waiting for approval! Sorry, maintainers will be going through pending issues next week.
@parthjadhao01 can you comment here by end of day sep 18th if you're still interested? If issue is approved and you're interested, we'll assign first-come-first-served.
But in any case, sharing investigation here is always a welcome form of contribution. Thakns all!