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

tippy on mobile with hideOnClick:true, el.oncontextmenu=()=>instance.show(), tipp appears while touching, disappears ontouchend #1160

Open
twilson90 opened this issue Mar 16, 2024 · 0 comments

Comments

@twilson90
Copy link

Using the latest version, if you use hideOnClick:true and manually trigger a tippy to show on a contextmenu event (right click), on desktop devices it will appear as expected.

On mobile/touch devices however, the contextmenu event is trigger by touching and holding. After about a second of holding, the event is triggered and the tippy shows, but the moment the touch ends it triggers the hideOnClick detection and hides the instance.

Is this a bug? Is there a way round this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant