Skip to main content
Question

Fix position inside scrollable component

  • January 4, 2022
  • 7 replies
  • 5833 views

rahendz

Are there any possibilities to set an object fixed on a scroll inside a component?

This topic has been closed for comments

7 replies

Ryan_Shumway

Hey, I want to make sure I understand what you’re asking.

You want one of those Item Texts to be fixed to the top / somewhere, while the remainder scroll?


Ryan_Shumway

@rahendz, I put together what I think you’re asking.

I have a list of items, and the top one stays put, while the remainder beneath are scrollable.
Make sure your framed list has Clip Content checked, so that when you do your prototyping, your content goes beyond the frame limit (otherwise, you can’t scroll).

Also have your frame selected, and on the prototype tab, make sure that you have vertical scrolling selected so you can scroll vertically.

scrolling


Ryan_Shumway

Screen Shot 2022-01-04 at 4.07.08 PM

Here’s a screenshot of my layers. My scrollable list is a frame itself, and Clipped Content is checked, and on the prototype tab, vertical alignment is on.


rahendz
  • Author
  • 17 replies
  • January 5, 2022

is it worked if your Example’s Frame is a component? and play your prototyping only using the instance of that component?

try this layer, I need my scrollbar being fixed.


rahendz
  • Author
  • 17 replies
  • January 6, 2022

sorry, just got it. there is no need to fix on scroll feature. hmm, seems I was missing something back there and solved by seeing your layers. thanks @Ryan_Shumway


Ryan_Shumway

Great! glad to hear that.


  • 0 replies
  • February 5, 2022

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


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