I am using Safari on my Mac mini to debug a webpage that is open on Simulator iOS Safari. I have an event handler on the body that logs the event.target and event.type and I can see that touch and click events are firing when I single-click (using a mouse or trackpad) interact with the webpage.
If I debug the same page but this time by connecting an actual touch device, click events do not fire (actually they do but only on elements I was expecting them to rather than on every element as is happening in the simulated device).
If I simulate multi-touch by pressing ALT while clicking then only touch events fire as expected.
Is there a keypress or option to simulate single touches?
If I debug the same page but this time by connecting an actual touch device, click events do not fire (actually they do but only on elements I was expecting them to rather than on every element as is happening in the simulated device).
If I simulate multi-touch by pressing ALT while clicking then only touch events fire as expected.
Is there a keypress or option to simulate single touches?