JQTouch压感

发布于 2024-08-26 15:35:47 字数 173 浏览 3 评论 0原文

我注意到 JQTouch 平台有一个有趣的错误,想知道是否有其他人遇到过这个错误,我们有解决方法。如果我有一个带有 onclick 事件的链接,并在 iPhone 上轻轻点击该链接,该链接会起作用,但不会触发 click 事件。如果我用力点击同一个链接,该事件就会触发。

对此有什么想法吗?

I noticed an interesting bug with the JQTouch platform and wanted to know if anyone else has run into it our has a workaround for it. If I have a link with an onclick event and lightly tap the link on the iPhone, the link works, but the click event is not fired. If I tap the same link harder, the event fires.

Any thoughts on this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

谜泪 2024-09-02 15:35:55

尝试处理 jQTouch 提供的 tap 事件,而不是 click 事件。

Try handling the tap event provided by jQTouch, rather than the click event.

雨轻弹 2024-09-02 15:35:55

我观察到同样的问题。我的解决方案是用于 iPhone 点击事件和其他设备点击事件(请参阅 http://digitalize.ca/2010/02/jqtouch-tap-vs-click/)。我想知道是否有更好的解决方案。

I have observed the same issue. My solution is to use for the iPhone tap events and for other devices click events (see http://digitalize.ca/2010/02/jqtouch-tap-vs-click/). I am wondering though if there is a better solution.

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