Closed mickaelistria closed 5 years ago
It's a focus issue: seems like the broadway IFrame never retrieves focus. If calling document.getElementById('ide-application-iframe').contentWindow.focus()
on the Che page with broadway in (or in general by calling frame.contentWindow.focus()
in the IFrame containing broadway) gives focus to the IDE and let keyboard events be processed.
Just adding onclick="window.focus()"
on the body
element of the inner document (generated by Broadway) does the work; but it's something that we can't work around and need to add in Broadway itself.
Fixed.
When the Broadway page containing the IDE is included in an IFrame (like it's done in Che), the keyboard events seem to be not forwarded to the application.