Skip to main content
Question

Need scroll events in embed prototype inside iframe

  • March 13, 2024
  • 1 reply
  • 243 views

I am using https://www.figma.com/developers/embed article to embed Figma prototype inside iframe.
According to this article, I am getting ‘PRESENTED_NODE_CHANGED’ and ‘MOUSE_PRESS_OR_RELEASE’ events whenever the page gets changed while interacting with prototype, and on click respectively.
For my use case, I also need the ‘SCROLL’ events, that should trigger whenver user is scrolling the prototype inside the iframe. I couldn’t find any documentation of such an event, but I belive this is a common usecase to know the scrolling position of the prototype.
Do Figma have this event which I can listen to in javascript?
Or is there any workaround to achieve this behaviour.

This topic has been closed for replies.

1 reply

ksn
Figmate
  • Community Support
  • 1672 replies
  • March 14, 2024

@Harsh_Mathur Afraid I’m not knowledgeable enough to answer this. I’m going to leave it open for the developer community to chime in.

If you’d like to get direct feedback on how you can work this out for your instance, please feel free to file a support ticket here, and someone more confident in API related questions will get back to you: https://help.figma.com/hc/en-us/requests/new?ticket_form_id=360001744374


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