emscripten-core/emscripten

[docs] iframe keyboard not working

Open

#5.796 aberto em 15 de nov. de 2017

Ver no GitHub
 (13 comments) (0 reactions) (0 assignees)C++ (3.519 forks)batch import
good first bughelp wanted

Métricas do repositório

Stars
 (27.361 stars)
Métricas de merge de PR
 (Mesclagem média 19d 10h) (147 fundiu PRs em 30d)

Description

I've tried on Chrome and Firefox and both have the same behavior.

if I open the demo directly: http://esenthel.com/site/Esenthel%20Fantasy%20Demo/Esenthel%20Fantasy%20Demo.html Then keyboard works OK. Click on "Menu / Options" and you can type something in the "Gui Scale" textfield in the menu window. or you can close it with "Escape" key.

But if I open the page through an iframe: http://www.esenthel.com/?id=live_demo Then keyboard doesn't work anymore, I press keys and nothing happens.

I use the following code: <iframe src="site/Esenthel Fantasy Demo/Esenthel Fantasy Demo.html" width="95%" height="520px" scrolling="no" webkitallowfullscreen mozallowfullscreen style="box-shadow:none;-webkit-box-shadow:none;border:none;overflow:hidden"></iframe>

Guia do colaborador