web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Reset Gallery (Scroll ...
Power Apps
Unanswered

Reset Gallery (Scroll to top) that is inside a component

(0) ShareShare
ReportReport
Posted on by 37

Hello, All

 

I have been struggling with this one... I have a flexible height gallery inside a component with various sized containers (non-traditional use of a gallery) that is responsive, but I can't seem to successfully perform a dynamic reset when the user navigates away from that screen and back again. 

 

I've tried triggering the Gallery Reset from the Component Reset property when the screen is hidden/visible... No luck. I've tried changing the Default value of the Gallery to the first item in the data source using a variable, No luck. 

I've tried using custom properties on the component to trigger the gallery reset, with no luck. 

 

The functionality I am really looking for is to be able to scroll to different sections of this gallery dynamically depending on user input but all from within the component... 

 

Any thoughts or suggestions would be greatly appreciated! I saw @RandyHayes  helped someone out with this in a previous post, but the solution wasn't totally worked out. 

Categories:
I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @LeeEPMTS ,

     

    Can you try

    Select(Gallery1, 1)
    
    //Or
    
    Select(Gallery1.AllItems, 1)

    Hope this helps

  • LeeEPMTS Profile Picture
    37 on at

    Thanks for the response @Ethan_R  

    I've exhausted all efforts on this approach... As the functionality of interacting with the scroll position inside galleries is non-existent in PowerApps (although it is a much requested Idea and wanted feature) I have opted to abandon galleries all together and use a scrollable screen control with responsive containers. That way, I can at least set anchor points and use the SetFocus function to navigate. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard