I ran 'electron-quick-start' app on my PC with Windows 10 via
npm start
It works, but the app responds to clicks and text typing (e.g. in the Console of DevTool, text inputs) too slow. What is the problem? Google Chrome and other browsers work fine on my PC.
I ran 'electron-quick-start' app on my PC with Windows 10 via
npm start
It works, but the app responds to clicks and text typing (e.g. in the Console of DevTool, text inputs) too slow. What is the problem? Google Chrome and other browsers work fine on my PC.
Share Improve this question edited Sep 11, 2019 at 8:19 John Law asked Nov 2, 2016 at 22:19 John LawJohn Law 4374 silver badges14 bronze badges1 Answer
Reset to default 17The problem was hardware acceleration. The members of the Electron devteam told me that hardware acceleration may cause input lag.
app.disableHardwareAcceleration();
Lag disappeared after writing that mand in main.js
.