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 / 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,654 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard