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

HTML auto height

(0) ShareShare
ReportReport
Posted on by 725

Hi everyone

 

I have an HTML TEXT with it's auto height controlled with a boolean of :

"Emergency Response" in Concat(varGalMain.WhatWasInvolved,Value,", ")

and the height property of the HTML TEXT is 0. It seems to work , but when I come back to it, it's then not working.  I'm finding the height does not go to 0 even if "Emergency Response" is not in:

Concat(varGalMain.WhatWasInvolved,Value,", ")

My objective is if "Emergency Response" is in varGalMain.WhatWasInvolved, then it auto heights to the height of the html content otherwise the height wants to be 0. I am not getting any errors.

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Corissandageri 

    If you want the height to be 0, then you are saying you don't want it to be visible!

     

    In that case, set your Visible formula to: 

    "Emergency Response" in Concat(varGalMain.WhatWasInvolved,Value,", ")

    And your AutoHeight to true.

     

    I hope this is helpful for you.

  • R Bakker Profile Picture
    725 on at

    Hi Randy

    I have five HTML on the same screen and depending on whats in 

    varGalMain.WhatWasInvolved

    changes which HTML shows up, and they need to appear one under the other. in some cases only HTML is displayed and in other cases there might be three.

    If I use On Visible, it hides it but the next HTML is halfway down the page.

  • R Bakker Profile Picture
    725 on at

    I think I might have a work around, have Auto height true, then in the HTML 

     If("Emergency Response" in Concat(varGalMain.WhatWasInvolved,Value,", "),"All my html","")

     but I will trial a bit more tonight.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard