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

Community site session details

Session Id :
Power Apps - Building 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.
 
 
 
I have the same question (0)
  • Sunil Pashikanti Profile Picture
    736 Moderator on at
    Re: Flexible Height Gallery Issue in some devices (space empty)

    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
    Re: Flexible Height Gallery Issue in some devices (space empty)
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 663 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 398 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard