Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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:
  • TxTechnician Profile Picture
    98 on at
    Re: The "auto-height" feature of the HTMLText control is maxed out to 7680

    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. 

  • BCBuizer Profile Picture
    21,991 Super User 2025 Season 1 on at
    Re: The "auto-height" feature of the HTMLText control is maxed out to 7680

    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
    )

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard