Long Press Mobile

Long Press Mobile


Good afternoon.

Is it possible to use the long press function for the mobile?

If possible, which event should I use.

Hi Fabio,

Did you try the taphold?


Best regards.

Daniel Martins

How do I integrate without using Unescaped Content?


The solution is good but I ended up doing it the following way, when using the ontouchstart and ontouchend envets and making the time difference between them.

Thank you for your help.


Hi Fabio,

Glad that you solved your issue,

Thank you for your feedback and for sharing your solution.

Hello Mates,

I have created component to simulate long press for mobile applications, have a look.


Hope it will be helpful for the community :)

Thanks and Regards,

Atul Patel

Hi Atul,

Thank you for sharing your component.