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

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -