Skip to main content
Addam_Winsenburg
February 11, 2021
Question

Long Press Simulation

  • February 11, 2021
  • 9 replies
  • 12394 views

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.

This topic has been closed for replies.

9 replies

Steven
March 1, 2021

@miggi 🤔

miggi
Figmate
Designer Advocate
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
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
October 18, 2021

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

Stanislav_Volkov
October 25, 2021

It is possible. Click and long press works.

Project

Tara_Singh
December 9, 2022

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

Hamza_Tariq1
August 17, 2023

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

December 15, 2023

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

Tarmo
September 3, 2024

☝️ This would be awesome. 🙏