Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Auto Height of canvas changed behaviour

I have a scrollable window on a canvas app.

I`ve created a set of cards that expands or collapses like a tree control.

Old Behaviour: I could set a card height small enough just to view those objects with visible=true at the top of the card.  Other objects with visible=false were not considered into container's height validation.

New Behaviour: every object on the container, visible or not, is accountable for container height validation. To collapse the container card I must:

  • Set every invisible object height to 0
  • Set every invisible object y to 0

... and remember their original locations


Is this going to be the new standard behaviour? or it depends on any new configuration?

Thanks in advance

Community Support Team
Community Support Team

Re: Auto Height of canvas changed behaviour

Hi @Bubbler ,

Could you please share a bit more about your scenario?

Do you mean that these invisible objects within the Container would be considered container's height validation?


Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. These invisible objects within the Canvas Container would not be considered into Container's height.



Please consider take a try to re-create a new canvas app, then add a Scollable screen within it ("Insert" -> "New Screen"-> "Scrollable screen"), then check if the issue is solved.


If I do not understand your issue correctly, please share a screenshot about your issue, then we could reproduce it on my side, and provide a proper workaround for you.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Auto Height of canvas changed behaviour

Hi @v-xida-msft 


You got it perfectly.

I've rebuilt it from scratch as you suggested and.... It worked!!


So I compared each implementation to try to understand the differences.

Finally I discovered the issue/bug.  It only happens when the invisible objects are grouped together.


Try to group a pair of objects that change their visibility dinamically, It happens even if all the grouped objects are invisible at the same time.


Could you reproduce it?

It is a new behaviour

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (3,684)