Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse plugin - prevents opening links on mobile devices #220

Open
coax opened this issue Aug 30, 2023 · 0 comments
Open

Mouse plugin - prevents opening links on mobile devices #220

coax opened this issue Aug 30, 2023 · 0 comments

Comments

@coax
Copy link

coax commented Aug 30, 2023

Hey Stephan, great plugin! Been using it a while now.

I've just recently stumbled upon issue where I use Mouse plugin for hoverable tooltips which follow mouse above target element. Works like a charm on desktop devices. However, when using it on mobile, the tooltip is displayed on touch action and prevents opening a link, even when touching several times. Tried with Tooltip plugin (with target: 'mouse') and also not working. Any workaround?

Example:

<script>
...
new jBox('Mouse', {
	attach: '.xxx[title!=""]',
	preventDefault: false
});
...
</script>

<body>
...
<a href="https://github.com" class="xxx" title="Open Github">Github</a>
...
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant