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 / FormViewer height not ...
Power Apps
Unanswered

FormViewer height not setting correctly with different heights of data

(0) ShareShare
ReportReport
Posted on by 4

Hi all,

 

I'm fairly new to Power Apps and I'm having an issue that's difficult to understand. 

I have a screen that displays data on an element selected from another screen. I used 2 FormViewers inside a horizontal containers as it was the quickest/simplest way to just display information and I wanted 2 separate sections with 3 columns and 1 column respectively (the single column section may contain very long texts). An issue arises when navigating between elements with very different amounts of text in the fields. E.g. I can view the element with a lot of text, go back and navigate to an element with much less text and then go back again to the first element and the card height containing that text will not resize to fit the text, instead displaying a scroll bar.

 

Here's the outcome I'm looking for (what it looks like when I start viewing from this element):
Screenshot 2022-05-11 163533.png

 

And after navigating to an element with a single line of text in last section and back:

Screenshot 2022-05-11 164017.png

 

I have tried to set the height for the FormViewer to be sum of the two card heights, but inspecting the values after navigating around, the results are completely incorrect (E.g. height of 160 when the two cards are 394 and 284). Any advice on what is causing this behaviour? Is there a way to maybe force update the size property when the screen loads? As I understand that should update dynamically, but the values are clearly wrong.

 

Please let me know if I can provide any more information for this! Appreciate the help!

 

PS. Do excuse my rough censorship : )

Categories:
I have the same question (0)

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
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard