Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant