On drag and while pressing?

Hello.

I have a problem with prototyping and multiple interactions.

If I assign the on drag interaction to a variant that already has a while pressing interaction, only the drag interaction works, and it ignores the while pressing and swaps to default state of component. Is there any way to overcome this problem?

drag

Hey @mrthink, sorry to hear you’re having trouble!

Normally, you should be able to create an interaction with both on drag and while pressing interactions. The issue might be with how you’ve set up the interaction and your layers.

Are you able to share your file, so we can take a closer look?

If so, please include a link to the file within this thread, and share edit access with support-share@figma.com.