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
Unanswered

Flexible Height Gallery Issue in some devices (space empty)

(1) ShareShare
ReportReport
Posted on by 2
Hello
I've created a flexible height gallery and it displays nice on some devices but, on others, it leaves a space empty until the next record. The configuration of the App is for mobiles:
App configApp config 
 
Here are some photos to see the behavior on different devices:
preview app ok!preview app ok!

 

 

iPad view ok!iPad view ok!

 

iPhone bad viewiPhone bad view

 laptop bad viewlaptop bad view
I am not a specialist in any of this; rather a daring with little knowledge. I greatly appreciate your help.
 
 
 
Categories:
I have the same question (0)
  • Sunil Kumar Pashikanti Profile Picture
    2,338 Super User 2026 Season 2 on at

    Hi @Salvi

     

    Flexible Height Gallery Behavior:
    The flexible height gallery adjusts its size based on the content it contains. If there are empty spaces, it might be due to the gallery not properly resizing.
    Check if there are settings that override the value you set in the Height property:
    If the Flexible Height property is enabled, the container will stretch to fill all available space vertically.
    If the container has a parent container, ensure that its contents fill the available space.


    Conditional Visibility:
    Consider using conditional visibility for gallery items. If an item is empty or doesn’t meet specific criteria, hide it dynamically.
    You can use the Visible property of each gallery item to control whether it’s displayed or not.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Sunil Pashikanti - Tech Blog: PowerApps

     

     

     

     

  • Salvi Profile Picture
    2 on at
    Thanks, @SunilPashikanti 
     
    But I understand that this is not the problem.
    First, because all containers have flexible height enabled and empty fields are also configured with the property visible to false.
    But, above all, because the gallery draws it well on some devices but not on all.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard