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

Is it possible to detect long press on link? #233

Open
Pranoy1c opened this issue Oct 11, 2024 · 1 comment
Open

Is it possible to detect long press on link? #233

Pranoy1c opened this issue Oct 11, 2024 · 1 comment

Comments

@Pranoy1c
Copy link

Is it possible to detect long press on link? Something like onLinkLongPress?

@sabidhasan
Copy link

sabidhasan commented Oct 25, 2024

Is it possible to detect long press on link? Something like onLinkLongPress?

Hey @Pranoy1c I think you can use a custom rendering rule for your links and add an onLongPress handler there.

link: (node, children, parent, styles, onLinkPress) => (

It doesn't look like the library by default exposes one though.

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

2 participants