在Google Chrome中使用FullScreen API时,我无法在输入元素中使用字母数字键盘 [英] I cannot use alphanumeric keyboard in a input element when using the FullScreen API in Google Chrome
问题描述
他们是Google Chrome中这个问题的一个解决方法吗?
docElm.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
检查此链接
链接内容:
$ b
包含按键输入的全屏
出于安全原因,大多数键盘输入在全屏模式下被阻止。但是,在谷歌浏览器中,您可以通过调用具有以下标志的方法来请求键盘支持:
docElm.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
这在Safari中不起作用,并且方法不会
使用Firefox,我们正在讨论并研究如何在不影响最终用户安全的情况下增加键盘输入支持的各种方式。一个建议,即没有人执行,是requestFullscreenWithKeys方法,它反过来会触发某些用户通知。
In Google Chrome, when I am using FullScreen API and I try to type in alphanumeric content in the input element it does not do anything. It works in Firefox.
Is their a workaround to this problem in Google Chrome?
docElm.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
check this link
Content from link:
Full screen with key input
For security reasons, most keyboard inputs have been blocked in the fullscreen mode. However, in Google Chrome you can request keyboard support by calling the method with a flag:
docElm.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
This does not work in Safari, and the method won’t be called.
With Firefox, we are discussing and looking into various ways of how we we could add keyboard input support without jeopardizing the end user’s security. One suggestion, that no one has implemented yet, is the requestFullscreenWithKeys method, which in turn would trigger certain notifications for the user.
这篇关于在Google Chrome中使用FullScreen API时,我无法在输入元素中使用字母数字键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!