Applet 在 Opera 中不接收鼠标移动事件
我写了一个小程序,它需要接收用户的鼠标事件。问题是 - 它适用于所有其他浏览器,但在 Opera 中它仅接收鼠标滚轮事件
和鼠标按下/单击事件
。
所以我无法获取鼠标在组件上的位置。 这显然是一个 Opera 错误,因为有时它会神奇地开始工作(对我的应用程序没有任何更改),然后在重新加载后停止工作。
那么问题来了——你遇到过这个问题吗?有办法解决吗?
I wrote an applet, which needs to receive mouse events from the user. The problem is - it works for all other browsers, but in Opera it receives only mouse wheel events
and mouse pressed/clicked events
.
And so I am not able to get the location of the mouse on the component.
It's clearly an Opera bug because sometimes it magically starts working (without any changes to my app), then after a reload it stops working.
So the question is - have you encountered this problem, and is there a way to solve it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
歌剧在这里。这是否仅限于特定操作系统?你有一些示例代码或演示吗?你缺少 mousemove、x、y 等吗?我们目前正在改进这个领域,所以很高兴知道我们是否已经解决了这个问题。
Opera here. Is this limited to a particular operating system? Do you have some sample code or demo? You're missing mousemove, x, y etc.? We are currently improving this area so would be good to know if we already fixed this or not.