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 / Flexible Height Galler...
Power Apps
Answered

Flexible Height Gallery max template height

(0) ShareShare
ReportReport
Posted on by 15

I have a very large Sharepoint list that contains different projects. In my PowerApp, I group by these Projects by using a flexible height gallery that contains a button to expand the project and then a nested gallery to display the items corresponding to the project (This one is not a flexible height gallery because then I would have two scroll bars).

 

The problem is that the flexible height gallery seems to have a hidden maximum template height because when I expand a small project (20-30 entries) there is absolutely no problem and everything is working fine. 

 

However, when I expand a big project (100 - 200 entries) I can scroll through like 50 - 60 of the entries before they just get cut off.

The height of the nested gallery is calculated by multiplying the number of entries in the project by the template height and works just fine (I checked the height property and it was correct) so there must be a problem with the flexible height gallery template height which seems to be limited. 

 

Microsoft doesn't have proper documentation of PowerApps anyways and in the gallery documentation this is not listed as a known limitation.

Does anyone have any experience with this problem and knows how to solve this Issue? 

 

Thank you

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    The limitation you are likely running into is that the gallery control limits the amount of rows it loads from the datasource at any one time. This is to keep the service responsive when a gallery is connected to larger datasources. We are not able to alter this number as a property on the control, so it's better to offer the user filtering of some sort on the gallery to keep the number of items as low as practical.

     

    Hope that helps,

    Bryan

  • Verified answer
    StuckOnStartup Profile Picture
    15 on at

    I found out there is a MaxTemplateSize property hidden in the advanced tab of the flexible height gallery. For some reason it's limited by default to a height of 5000 (If I wanted to limit it I wouldn't have chosen a flexible height gallery in the first place; come on microsoft). You can just increase that to an absurd amount (like 100000) to create an artificially unlimited flexible height gallery. I hope I could help someone!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard