Skip to main content
Question

Long Press Simulation

  • February 11, 2021
  • 9 replies
  • 10822 views

Addam_Winsenburg

Is there a version of “on click” that can be initiated by a long press? When using “while pressing” to open a menu, as soon as the user lets go the menu disappears, so they can’t actually use the menu (only display it briefly).

If there isn’t a way to simulate this, would love there to be. It’s a fairly common pattern these days.

9 replies

Steven
  • 122 replies
  • March 1, 2021

@miggi 🤔


miggi
Figmate
  • Designer Advocate
  • 34 replies
  • March 1, 2021

You can simulate a long press using a sequence of mouse down, after delay and mouse up.

Duplicate this file to test it out: Figma

Let me know if you have any additional questions.


Viktor6
  • 1 reply
  • September 2, 2021

@miggi
I would rephrase the question:
Are you going to make it possible to have (at least) two (inter)actions on a single hotspot - click on and long press on?


Faler_William

I would love the same functionality for gamepad/keyboard support. Long presses are very common in gaming.


Stanislav_Volkov

It is possible. Click and long press works.

Project


Tara_Singh

Hi, It would be great if you can share the open editable file.


Hamza_Tariq1

The algo won’t work on a tap though, just on mouse. There should be a long press feature just like there’s tab.


Is ‘Key down’ and ‘key up’ in the planning?
I need these for longpress simulation for TV apps


Tarmo
  • 1 reply
  • September 3, 2024

☝️ This would be awesome. 🙏


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings