Applet 在 Opera 中不接收鼠标移动事件

发布于 2024-10-02 18:46:42 字数 257 浏览 0 评论 0原文

我写了一个小程序,它需要接收用户的鼠标事件。问题是 - 它适用于所有其他浏览器,但在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

残花月 2024-10-09 18:46:42

歌剧在这里。这是否仅限于特定操作系统?你有一些示例代码或演示吗?你缺少 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文