Skip to main content
konst
Feb 1, 2021 12:00 PM UTC

"On Scroll" for prototyping

  1. I want to make a prototype where something changes when user scrolls content.

  2. I want to keyboard collapse when user starts scrolling content, but it’s impossible to do with drag action. Or it feels unnatural

  3. Or am I missing a way to do it with existing tools?

361 replies

Marc_Rubli1
Jan 16, 2023 1:38 PM UTC

yess!!! Figma it has been 2 years since this request…
Also we need a “on viewport scroll” to animate on scroll interactions. For example when a box enters the screen it should play a fade-in animation. Possible with every simple website builder but not with figma. Also for Video it would be great to let it play when on screen in preview.

James_Walsh
New Participant
Jan 18, 2023 3:30 PM UTC

XD doesn’t have this, Figma doesn’t have this - some niche prototyping tools do - but why should we have to double handle our work in 2 apps?

Hopefully when/if that $20bn from adobe hits the account this is getting implemented - It always feels like the missing piece of the puzzle and almost all our clients want to see this in prototypes.

Phil_Boulter
Jan 31, 2023 4:18 PM UTC

+1 for enabling a button once Terms & Conditions have been read entirely.

Caleb_Zarth
Jan 31, 2023 5:09 PM UTC

Hey, just found a quick work around for OnScroll events (apologies if someone has already mentioned this.)

  1. I created a white rectangle that spanned the width of the screen.
  2. I moved it do the scroll depth I wanted to trigger the event.
  3. I selected the rectangle and used the “Mouse enter” interaction to trigger the next frame.
  4. I then hid the fill.

This has resulted in the interaction and behaviour I was after. Hopefully it works for some of you while we wait for Figma to create the actual OnScroll interaction 🙏

megaroeny
Active Member
Feb 7, 2023 7:44 PM UTC

I’ve been wanting this for a few years now 😅 Glad I found this post to follow. 👍

Feb 8, 2023 4:42 PM UTC

Caleb, can you share some screenshots of your work? I’m very new to Figma and need some visual guidance. 😅

Caleb_Zarth
Feb 9, 2023 2:13 PM UTC

Sure @Annabelle ! Here’s a screenshot showing the rectangle (which I have hidden the fill on) and the prototype settings which lead to the next screen onMouseEnter.

Caleb_Zarth
Feb 9, 2023 2:14 PM UTC

For additional detail (given you said you’re new to Figma) this is what the rectangle layer should look like in the ‘Design’ panel. Note I have hidden the fill, but it can still be used for the purpose of prototyping.

Feb 21, 2023 6:07 PM UTC

+1 Need this feature badly. On Drag just can’t handle the detailed interaction desired. Thank you!

logovka
Mar 7, 2023 12:08 PM UTC

This is so needed! Please add the scrolling interaction feature!