This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Junha Kang
Posted Oct 12 - Read on Facebook

Hi,
i was working on this problem all day

is there a way to ignore a layer's tap event while it's long pressed ?

i was trying to give a layer a two different function

one with tap and one with long press

but i can't stop the tap event from firing while it's long pressed

i tried to use ignoreEvents in long press event so it will ignore the event when it's long pressed, but it works only after the tap event was fired once

could there be a way to ignore tap event while it is long pressed ?

thank you

3 Comments

Junha Kang

this is the example of the situation

Eelco Lempsink

Hi Junha, I understand what you mean, this is indeed a bit annoying. Here’s a way to solve it, by ignoring the tap when a long press triggered: http://share.framerjs.com/hbbcczewah3x/

Read the entire post on Facebook