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

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:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard