Open
Description
Most appropriate sub-area of p5.js?
- Events
p5.js version
1.11.8
Web browser and version
iPhone Safari
Operating system
iOS
Steps to reproduce this
Steps:
- mousePressed does not work in iPhone Safari - 1.11.8 - https://editor.p5js.org/qalqi/sketches/IRxUM48mb
Screen.Recording.2025-06-26.at.7.39.16.PM.mov
- mousePressed works in iPhone Safari - 2.0.3 - https://editor.p5js.org/qalqi/sketches/IRxUM48mb
Screen.Recording.2025-06-26.at.7.41.15.PM.mov
Snippet:
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
}
function mousePressed() {
alert('hi! Version 1.11.8')
}
A similar issue is earlier closed for touch move at #5358 #5358