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

Notifications

Announcements

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)
  • 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. 

  • 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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 427

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 336 Super User 2025 Season 2

Last 30 days Overall leaderboard