Skip to main content
Question

On drag and while pressing?

  • June 6, 2024
  • 1 reply
  • 135 views

mrthink

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

This topic has been closed for replies.

1 reply

djv
Figmate
  • Community Support
  • June 10, 2024

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.