Touch Events And Scroll



I am using webContents.enableDeviceEmulation to display my content the same way on a mobile and on desktop. Works great.

Unfortunately, I can’t find a way to simulate touch events in this DeviceEmulation view.

What I want to achieve is : simulate touchStart / touchMove / touchEnd events, and be able to scroll inside the view, just like when you use Chrome Device Emulation (when your cursor becomes a black circle and works like your finger)

Any idea ?

Thanks !


Unless I’m mistaken, you are in the wrong forum. This is a discussion group about the Atom editor.


I’m so sorry. You are right… My Bad.


Closing this as duplicate of the new topic at:

closed #5