Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch events and scrolling #8125

Closed
bellostom opened this issue Dec 2, 2016 · 4 comments
Closed

Touch events and scrolling #8125

bellostom opened this issue Dec 2, 2016 · 4 comments

Comments

@bellostom
Copy link

@bellostom bellostom commented Dec 2, 2016

Hi

I am creating an app that will run in a touch device.
The problem is that no touch events are supported when electron runs
I have tried the --touch-events switch but with no luck
I also tried the --touch-devices switch but doing a ps afterwards it seems that the switch is not present in the list of arguments passed in the executable.

Anyone with experience in running Electron with a touch screen?
Are there any specific flags that needed in order for touch events and scrolling to work correctly?

Regards

@jean-emmanuel

This comment has been minimized.

Copy link

@jean-emmanuel jean-emmanuel commented Dec 2, 2016

--enable-touch-events is the one !

@MarshallOfSound

This comment has been minimized.

Copy link
Member

@MarshallOfSound MarshallOfSound commented Dec 2, 2016

@bellostom Chromium flags are enabled with the name

--enable-[flag name]

So your --touch-events will become --enable-touch-events

@MarshallOfSound

This comment has been minimized.

Copy link
Member

@MarshallOfSound MarshallOfSound commented Dec 2, 2016

GitHub issues are for feature requests and bug reports, questions about using Electron should be directed to the community or to the Slack Channel.

@bellostom

This comment has been minimized.

Copy link
Author

@bellostom bellostom commented Dec 2, 2016

Hi,
Thanks for the help
Moving the thread to
https://discuss.atom.io/t/touch-events-and-scrolling/36575
Tried the switch you mentioned with no luck however

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.