cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hpkeong
Level 10

Potential Bugs: AutoHeight

HI PG:

 

I used to use AutoHeight to display, esp. long text (descriptions). At the same time, I also used the Autoheight of the TextBox1 to control the container of the TextBox1.

e.g.:

TextBox1.AutoHeight = true

DataCard1.Height = TextBox1.Height + 20 (I add 20 so that to create a small gap with the following DataCard2, so on and so forth).

 

I have about 30 Fields (Columns) and all the TextBoxes and Datacards are set as of above conditions.

 

It works excellently in PowerApps Studio, and I can see the height change when I navigate to the screen.

But, when the apps is in Cloud, it Stopped working. All the TextBoxes clamp together on top of the screen.

It happened in WIn 10, iPhone and Android Phone.

 

But, if I reduced the AutoHeight effect to only few of the boxes (I don;t really check each one, but 3-5 TextBoxes still work).

 

Would PG investigate if Excessive use of AutoHeight function will make the Apps collapses and if yes, what is the limitation.

 

Have a nice day.

 

NB: I have tested for about 10 times. All failed.

hpkeong
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Potential Bugs: AutoHeight

Hi @hpkeong,

 

Thanks for the feedback.

I will try to reproduce this and report it from my side once confirmed.

Appreciate your patience and understanding.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

21 REPLIES 21
Community Support Team
Community Support Team

Re: Potential Bugs: AutoHeight

Hi @hpkeong,

 

Thanks for the feedback.

I will try to reproduce this and report it from my side once confirmed.

Appreciate your patience and understanding.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
hpkeong
Level 10

Re: Potential Bugs: AutoHeight

Hi @v-micsh-msft

 

Thanks for much for looking into this potential bugs.

AutoHeight is so important in making the UI and results well organized and presented to users.

 

Awaiting good news.

 

Have a nice day.

 

hpkeong
Community Support Team
Community Support Team

Re: Potential Bugs: AutoHeight

Hi @hpkeong,

 

I tested this with the auto-generated display form (Second screen), for each card, changed the height with the formula below:

DataCardKey.Height+DataCardValue.Height+5

47.PNG

Each Datacardvalue textbox has the autoheight set to true.

The form displays well under Windows 10 PowerApps studio and IOS device.

I may miss something, would you please share some additional information regarding how to reproduce your scenario?

 

Thanks& Regards

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hpkeong
Level 10

Re: Potential Bugs: AutoHeight

Hi @v-micsh-msft

 

Thanks for feedback and sorry for late reply.

 

In my case, I have set AutoHeight and others under following conditon:

1. I have 30 DataCards, and all are with TextBox inside, set with Height.AutoHeight

2. DataCards. Height is set as Height = TextBox.Height + 20 (e.g.)

 

So, when the TextBox's height change automatically, the DataCards Height is also changing.

 

In PowerApps Studio - All are perfectly shown.

But when saved into Cloud Apps, then problem happened, where all DataCards will clump together on top of the screen.

 

So, can you save it as Cloud Apps and test it again?

 

TQ

hpkeong
davidstone
Level 8

Re: Potential Bugs: AutoHeight

I'm having this issue now.

 

Specifically with a variable height gallery. You go to the page displaying the gallery and all looks fine. Click an item which then take you to the page with the view of that record. Then use the back button - in this case just calling the Back function, and the page you just left is now all messed up.

 

The first item in the data looks exactly as it should, but every subsequent item has basically collapsed, as though none of the auto-heights have been calculated so they have just reverted to a minimal height, which is less than the height of a single line of text, so what the user sees is a bunch of overlapping half-lines of text.

 

Interestingly this occurs slightly differently in the editor. But when the app is published, the issue can be seen both on a mobile device and when running the app in the browser.

Mike8
Level 10

Re: Potential Bugs: AutoHeight

Hello,

I also have an issue.
I have a Label inside a Gallery and I have set the AutoHeight of the Label to true.
Most of the times everything is fine but sometimes (seems random to me) some of the Labels (it is the same label but it is inside the Gallery, so there are many) are like their height is short as setting the height to 3. It is like a line. 
If I scroll the Label, I can see it has the text inside, but the text is not visible because the height hasn't been calculated correctly.
That doesn't happen for all the records. The first 5 records can be ok, the next 2 not and the following ok, too.
Does anyone else has the same issue? Can I do anything to fix it?

Mike8
Level 10

Re: Potential Bugs: AutoHeight

Hello,

The bug is still there. Please fix it

JanLektonen
Level: Powered On

Re: Potential Bugs: AutoHeight

I also have the same problems using autoheight without forms though... in editor it displays fine, but in production using Sharepoint Onprem data the autoheight sometimes fails on fields...

 

Please fix it.

Django
Level: Powered On

Re: Potential Bugs: AutoHeight

Come one guys... really need auto height to function properly:

O365PA_Autoheight_bug.PNG

When opening previous screen and entering same screen again, the bug is gone:

O365PA_Autoheight_bug_gone.PNG

Seems to be caused by a combination of AutoHeight and conditional visibility on the control itself?

O365PA_Autoheight_bug_setting_Height.PNGO365PA_Autoheight_bug_setting_Visible.PNG

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (7,436)