Hi everyone! I'm trying to simulate two different actions on a single card component.
* Short Tap: Should open an overlay.
* Long Press: Should change the card to a different variant that reveals two buttons (one to hide the card, and one to cancel/return to the initial variant).
I added an "On tap" trigger to the card instance on my canvas to open the overlay. To handle the long press, I'm trying to use "Mouse down" and "Mouse up" inside the Main Component to switch between variants (since I know I can't use "On tap" on both the variant and the instance simultaneously).
However, Figma keeps conflicting the triggers, and the prototype is breaking. The actions either override each other or fail silently.
Could someone help me understand how the trigger hierarchy actually works between Main Components and Instances? Or, if there's a better workaround to build a component that handles both a short tap and a long press without conflicting?
Thanks in advance!
