emscripten-core / emscripten-core/emscripten

[docs] iframe keyboard not working

Open
#5,796 13 comments 0 reactions 0 assignees View on GitHub
good first bug help wanted
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

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:
``

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.