Skip to content

Mouse plugin - prevents opening links on mobile devices #220

@coax

Description

@coax

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions