Skip to main content
Question

Strange prototype behavior when an object has multiple events


Andrey_Fedorov

I created a quite complicated prototype to emulate LCD display emulation:

  1. When pressing on the object with the name “1. Down button” the event “Mouse Down” fires and “scroll to” the object “2. Heat button” in another frame.
  2. Also “1. Down button” generate an event “Mouse Up” which is “scroll to” the object “2. Down button” and replace “1. Down button” in the frame.
  3. Event “Click” of the “1. Down button” make “scroll to” of the “Street” frame in the frame “LCD_screen”.

Here is the project:

Figma – 18 Feb 21

The problem is only events “Mouse Up” and “Mouse down” works Ok, and there is no any actions on the “Click” event, so, no “scroll to” of the “Street” frame in the frame “LCD_screen”.

I used different combinations and always work only two event of the object, I don’t understand why.

Does Figma have some event when object is getting visible after “scroll to”?

2 replies

Andrey_Fedorov

@Gleb do you have any ideas, why 3-d event doesn’t work?


Gleb
  • Power Member
  • 4707 replies
  • March 12, 2021

It’s a bit hard to understand, but I think you need to join Interactive Components beta or wait for them to come out of beta as they will make these interactions much easier.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings