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 Apps
Unanswered

Auto height bug?

(0) ShareShare
ReportReport
Posted on by 418

Hello,

 

I am experiencing a problem with auto height not always displaying correctly.  It has happened in galleries, and in plain text boxes not in galleries.  It seems as though the height of the text for a given box is not not getting read correctly and making the height of the boxes much smaller than they need to be.  This problem seems to happen at random, some galleries are fine, while other experience the issue.  The issue can usually be solved by closing the app and re-opening it.  Please see below screen shot of my error.  

 

Thank you for any insight!

 Capture.PNG

Smushed_Auto_Height_error.PNG

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @samuelJ,

    I have made a test on my side, and don't have the issue that you mentioned.

    If the issue exists within your Gallery, please take a try to reset your Gallery via refreshing the data source connected to your Gallery. Set the OnVisible property of the screen which contains the Gallery control to following:

    Refresh(DataSourceConnectedToYourGallery)

     

    If the issue exists outside the Gallery, please take a try to reset the control using the following formula:

    Reset(ControlName)

     

    Best regards,

    Kris

  • SJ-15052312-0 Profile Picture
    418 on at

    Hi @v-xida-msft,

     

    I am using a collection as my data source, so I dont think I would need to refresh it, would I?  I have found couple of threads who seems to be having a similar problem here: Link.  Before your comment I pretty much just decided this was a PowerApps issue, not really a problem with my implementation.  

     

    The app simulates a directory with peoples pictures and information.  If it happens on one persons, I can exit out of theirs, click on someon elses, and go back into the "broken" one and its (usually) fixed.  There is no screen switching here, just adjusting visibilty of a gallery and changing the item in the gallery to be myObject.selected.  

     

    Please let me know if I misinterpetted your solution, or if I can use the Refresh(DataSource) in a different location other than the OnVisible() method, as there is not screen navigation.

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    @samuelJ I noticed an issue with the auto height not setting correctly in my app when the improved rendering was enabled. By chance, is this feature enabled and does the auto height issue improve if  it is disabled?

  • SJ-15052312-0 Profile Picture
    418 on at

    Hi @Anonymous,

     

    We are using improved rendering in the app.  I made the change and cannot recreate it.  I will publish the feature to our users and see if the issue persists.  If it does not, I will come back mark this as the solution.  

     

    Thank you!

  • corey_msft Profile Picture
    on at

    @samuelJ, @Anonymous A fix for auto-height when improved app rendering is enabled was released world-wide last week.  This should address the issues you are describing.  You will need to republish your apps for the changes to take effect.

  • SJ-15052312-0 Profile Picture
    418 on at

    Hello @_Corey_,

     

    I published my app 11/14/18.  Today, 11/15/18, The first gallery I came to add the issue.  Let me know if there is something I could have missed.

  • corey_msft Profile Picture
    on at

    @samuelJ Does your app dynamically hide/show the Gallery that is exhibiting the problem?  i.e. does Gallery.Visibile listen to a variable that flips false->true based on data being loaded or some other condition?

  • SJ-15052312-0 Profile Picture
    418 on at

    Yes, the gallery visibility is dynamic.  Listens to a variable.

  • SJ-15052312-0 Profile Picture
    418 on at

    Upon further investigating, the gallery will at fist appear "squished" but upon trying to scroll the gallery it fixes itself. 

  • corey_msft Profile Picture
    on at

    @samuelJ Is this a variable-height gallery or regular gallery?  Does the content of each row also have visibility dependent formulas?  Is the gallery nested, such as in another gallery or a Canvas control?

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
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard