# Press and hold works on desktop, doesn't work on tablet or phone

**URL:** <https://discourse.nodered.org/t/press-and-hold-works-on-desktop-doesnt-work-on-tablet-or-phone/75468>\
**Category:** Dashboard\
**Created:** [20 February 2023 13:49 UTC](https://discourse.nodered.org/t/press-and-hold-works-on-desktop-doesnt-work-on-tablet-or-phone/75468 "2023-02-20T13:49:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![PdeJ](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@PdeJ](https://discourse.nodered.org/u/PdeJ)\
**Post date:** [20 February 2023 18:53 UTC](https://discourse.nodered.org/t/press-and-hold-works-on-desktop-doesnt-work-on-tablet-or-phone/75468/2 "2023-02-20T18:53:05Z")

</div>

Have a look [here](https://discourse.nodered.org/t/momentary-switch-or-button-normally-open/36768) which descibes how to make a momentary button, ie like your Press and Hold. It works both with mouse and touchscreens.

---

_[View the full topic](https://discourse.nodered.org/t/press-and-hold-works-on-desktop-doesnt-work-on-tablet-or-phone/75468)._
