Skip to main content
Solved

Is there a way to focus a specific frame with prototype?

  • August 24, 2022
  • 4 replies
  • 1235 views

Eric_yun

Hi,
I have a deep link button on the screen and I wanted it to take a user to the specific frame on the other screen that has lots of scrolls. Is there a way to make it?

Thanks!

Best answer by Avokadomos

If I understand your question correctly, you want to link to another frame, and then scroll to an element in that frame?

You can add a scroll interaction that triggers after a delay to your second frame, and make it scroll to an element. This will however trigger for any redirects to that frame.

Demo:

There is no way to detect where the user is linked from, so if you want multiple links to that frame (scrolling to different elements), you have to resort to some other method.

View original
This topic has been closed for replies.

4 replies

Avokadomos
  • Active Member
  • 377 replies
  • Answer
  • August 24, 2022

If I understand your question correctly, you want to link to another frame, and then scroll to an element in that frame?

You can add a scroll interaction that triggers after a delay to your second frame, and make it scroll to an element. This will however trigger for any redirects to that frame.

Demo:

There is no way to detect where the user is linked from, so if you want multiple links to that frame (scrolling to different elements), you have to resort to some other method.


Eric_yun
  • Author
  • 2 replies
  • August 26, 2022

Thanks, Avokadomos! It was so helpful! 😃


Avokadomos
  • Active Member
  • 377 replies
  • August 26, 2022

Happy to assist! Consider checking the checkbox under my last reply to mark your topic as solved. Have fun in Figma!


Eric_yun
  • Author
  • 2 replies
  • August 26, 2022

I didn’t realize what the checkbox was for. Not only sharing your knowledge above, it was also a good chance for me to learn about marking solved. You let me learn more. Thanks a lot!


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