单击Chrome和Safari中的输入字段后出现奇怪的行为

Vin*_*ent 5 html webkit input

我有一个奇怪的问题.当用户单击输入字段或选择页面内容移动到左侧时.我不知道为什么.这仅在webkit浏览器中发生.

这个页面使用webkit-transform,也许有什么问题?

你可以在这里测试 http://zapmama.be/home/dev#/ontour

我希望你能帮助我.非常感谢!

文森特

Sha*_*bib 1

那么你有以下这些错误

Unsafe JavaScript attempt to access frame with URL http://www.zapmama.be/home/dev#/ontour from frame with URL http://www.youtube.com/embed/DSopUVEhG8Y. Domains, protocols and ports must match.
Unsafe JavaScript attempt to access frame with URL http://www.zapmama.be/home/dev#/ontour from frame with URL http://www.youtube.com/embed/mMhSIqE-pBA. Domains, protocols and ports must match.
Run Code Online (Sandbox Code Playgroud)

奇怪行为的原因是这个警告消息:

2event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.
Run Code Online (Sandbox Code Playgroud)

您可以在此处此处此处找到有关此问题解决方案的更多信息