NoVNC Click inside Server and type


#1

I cant type inside the novnc server when i preview novnc… like this :

You can see it wrote the message on terminal instead of NoVNC… :confused:


#2

this is a bug inNoVNC. https://github.com/novnc/noVNC/blob/b56d97524807b125d047730331031ddd00f9c61f/core/input/devices.js#L251 calls preventDefault on mousedown event which prevents iframe from being focused.
It needs to call window.focus() similar to
https://github.com/ajaxorg/ace/blob/v1.2.6/lib/ace/mouse/mouse_handler.js#L51-L56