cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
flyte
Helper II
Helper II

Vertically Scrolling to Accommodate Dynamic Content

As I understand it, to allow your screen to vertically scroll, you need to use an Infinite Scrolling Canvas layout, and then add cards to it that contain your controls that you want to be able to scroll. I have 2 textboxes that pull content from a SharePoint list that are of varying length depending on an ID that is passed in for retreival.

 

The problem that I am having is that although the Textboxes can have an "Auto Height", the cards cannot. 

 

How can I organize my cards / textboxes that would simply allow me to display them with vertical scroll and automatically size their cards to the content?

1 ACCEPTED SOLUTION

Accepted Solutions
hpkeong
Community Champion
Community Champion

Hi @flyte

 

You may set the formula as following:

- Set the TextBox.Height = AutoHeight

- DataCard.Height = TextBox6.Height + 100 (or any value you wish for Padding Bottom)

 

Hope this helps.

 

Screenshot (296).png

hpkeong

View solution in original post

2 REPLIES 2
hpkeong
Community Champion
Community Champion

Hi @flyte

 

You may set the formula as following:

- Set the TextBox.Height = AutoHeight

- DataCard.Height = TextBox6.Height + 100 (or any value you wish for Padding Bottom)

 

Hope this helps.

 

Screenshot (296).png

hpkeong

Thanks @hpkeong, this seems to have worked well!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,971)