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 Platform Community / Forums / Power Apps / The "auto-height&...
Power Apps
Unanswered

The "auto-height" feature of the HTMLText control is maxed out to 7680

(2) ShareShare
ReportReport
Posted on by 98

If I turn on the "Auto-Height" function of an html text doc. The maximum height I can get is 7680 (10x the amount of the height of the app).

Is this a limitation, or a bug?

 

The reason I have this HTML control inside of a container. I'm taking advantage of the new PDF() function. Which expands Containers. And will create a pdf of whatever is inside of the container. It worked great. Until I found this limitation. Now anything that is too long gets cut off. Both in the app, and the pdf.

 

The attached zip file is an html doc with a table that is 500 rows long.  I am only able to view up-to row 303 in my app. 

 

Steps to reproduce:

  1. Insert a vertical container control.
  2. Set the container's vertical overflow property to "scroll"
  3. Insert an HTMLText control in the container.
  4. Set the width to parent.width and the x and y to 0.
  5. Set the auto-height property to true.
  6. Use the html from the zip file.

 

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @TxTechnician ,

     

    I was able to replicate the issue and indeed this seems to be an undocumented limitation of the HTML text control. To get this confirmed in the documentation I have submitted a pull request: Added AutoHeight property to HTML text control description by BCBuizer · Pull Request #5345 · MicrosoftDocs/powerapps-docs (github.com)

     

    As an alternative you may try to disable the AutoHeight property and use something like the below for the Height property to make is dynamic:

    20 //offset for headers
    + (
    15 //height per table row
    *
    CountRows(Table) //number of rows in the table
    )

     

  • TxTechnician Profile Picture
    98 on at

    Nice. 

     

    I ended up saving the HTML file to Sharepoint and then using rclone, wkhtmltopdf, and some python to get the job done. 

    I was using the new PDF() feature to convert a container to PDF.  And the limitation of the view size for the HTML control was....  a problem. 

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