cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbaldwin
Regular Visitor

Gallery Showing Old Information Briefly

Hi all,

I have a user details screen with a gallery in, if I am looking at one user, then go back to the home screen and select another user, the gallery briefly shows the information of user 1 for a split second before updating to the correct information. Is there any way to have the gallery update itself quicker, or as an alternative have it blank and then load in the information?

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

Hi @jbaldwin 

If you can make your Items property in the gallery a collection of the datasource instead of the datasource itself, it will eliminate lag.  If you are making changes to the datasource, you will need to ClearCollect() it again before you navigate back to that screen. 

Another option is to use Reset(galleryname) before you navigate back. This will restore the gallery to its Default state.

View solution in original post

1 REPLY 1
Drrickryp
Super User
Super User

Hi @jbaldwin 

If you can make your Items property in the gallery a collection of the datasource instead of the datasource itself, it will eliminate lag.  If you are making changes to the datasource, you will need to ClearCollect() it again before you navigate back to that screen. 

Another option is to use Reset(galleryname) before you navigate back. This will restore the gallery to its Default state.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,230)