emscripten-core/emscripten

[docs] iframe keyboard not working

Open

#5,796 创建于 2017年11月15日

在 GitHub 查看
 (13 评论) (0 反应) (0 负责人)C++ (3,519 fork)batch import
good first bughelp wanted

仓库指标

Star
 (27,361 star)
PR 合并指标
 (平均合并 19天 10小时) (30 天内合并 147 个 PR)

描述

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>

贡献者指南