electron - Keyboard events in atom-shell -


i trying use atom-shell, don't understand how dom events differ normal browser. can't find doc either.

if add:

 document.onkeydown = function() { alert('...'); } 

to index.html, seems atom-shell doesn't capture event, , instead forwards call terminal in ran atom-shell myapp.

is there documentation somewhere how dom events work in atom-shell?

edit: happens when run atom-shell terminal window (in osx). if run app first starting atom application , dragging app inside drag area, works fine...

it's bug: here github issue


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -