Skip to main content
Jay_Cowle
New Participant
Apr 12, 2024 4:23 PM UTC
Question

How do I make my scroll bar stay in place?

Hello,
I’ve been trying to make a simple scrollable frame that includes a scroll bar.

My problem is when I stop dragging the bar it snaps to either the first or last frame position (rather than remain in place).

I’ve rebuilt it a few times and dug around on here but I feel I must be missing something obvious. Can anyone help please?

Protoype link:

Figma – 12 Apr 24
This topic has been closed for replies.

4 replies

y_toku
Figmate
Community Support
Apr 15, 2024 5:26 AM UTC

Hi there,

Thanks for reaching out. I think there are some helpful third-party tutorial on YouTube like this one:

I hope you’ll make it, but please let us know if you have further questions!

Thanks,
Toku

Jay_Cowle
Jay_CowleAuthor
New Participant
Apr 15, 2024 9:02 AM UTC

Thank you Toku.

I’ve followed this video and rebuilt my test scroll bar (see ‘2nd Try’ in the Figma file).
Here’s the latest prototype:

Figma – 12 Apr 24

I am pretty confident that this replicates what Product Sensei has done. Here I am able to scroll the bar and list. If I scroll to the bottom, and release drag, the bar and list will stay there.

My problem is: If I release the bar around half way it will snap to either the first or final frame position.

Is it possible to make a scroll bar that does not snap like this? What I want is to release drag and the scroll bar and list to retain their position.

Thank you

y_toku
Figmate
Community Support
Apr 16, 2024 2:32 AM UTC

Hey there,

I think you’ll need more frames to have more stopping points while scrolling. I’ve put together a quick example for you below:

This isn’t the smoothest, but it should help illustrate my point. By creating more frames, you’ll have more places where the scrollbar pauses.

I hope you will be able to make it!

Thanks,
Toku

Jay_Cowle
Jay_CowleAuthor
New Participant
Apr 16, 2024 8:52 AM UTC

Thank you Toku, I was thinking this but was worried I was missing a better way. Knowing this is your recommendation I feel ok about doing it this way now. Thank you for your help.