Add a scrolling screen to a canvas app
In a canvas app, create a screen that users can scroll to show different items. For example, create a phone app that shows data in several charts, which users can display if they scroll.
When you add multiple controls in a section, the controls maintain their relative positions within that section, regardless if it's a phone app or a tablet app. Screen size and orientation may also affect how the sections are arranged.
Prerequisites
- Create a blank canvas app.
- Learn how to add and configure controls.
Create a scrolling screen
Select New screen below the top menu.
Select Scrollable.
A new scrollable screen is added to the app.
Add controls
Scrollable screen includes a fluid grid with one data card by default. Data cards help separate building blocks on the screen. To make screen scrollable with multiple controls, add more data cards. And then, add controls in data cards as required.
To add data cards, you can select Add section at the bottom of the scrollable screen.
We'll start by adding controls on the data card available with the scrollable screen by default, and then add a new section that adds another data card. Once a new data card is available, we'll then add another control inside the new data card.
Together, both data cards and the controls within the data cards would extend the default length of the screen, requiring the use of the scrolling ability of the screen.
Tip
To learn more about data cards, see Understand data cards.
Select + (Insert) from the left-pane.
Expand Charts, and then select Column chart.
Resize the chart added on the screen to consume about two-thirds of the screen.
Reduce the size of the data card to the size of the added chart.
Select Add section on the screen to add another section.
Select Insert > Charts > Line chart.
Scroll down on the screen using the scroll bar on the right-side of the screen, and then select Add section to add a third data card.
Select Insert > Input > Pen input.
Resize the pen input control by increasing the width inside the data card.
Press F5 on the keyboard to preview the app. Scroll down using the scroll bar to lower part of the screen.
Now that you've demonstrated how to use scrollable screen, customize the app further as per your business requirements.
Scrolling screen for forms
Since Power Apps uses data cards to create sections, Display form and Edit form controls can't be inserted on them. Nesting of such a combination of controls together may degrade the performance of the app. Hence, when using form controls, use layout containers such as a vertical container control.
Tip
To learn about working with forms, see Understand canvas app forms.
There are multiple different methods to configure scrolling with forms:
Use Vertical Overflow property
Use of the Vertical Overflow property is a basic method of using a scrolling screen that has a form.
Ensure you're using a blank screen, and not a scrollable screen.
Select Insert > Layout, and then select Vertical container.
From the right-side of the screen in the properties pane, select Vertical Overflow property drop-down, and choose Scroll.
Add the edit or display form with the required fields. When the list of fields exceeds the size of the container inside the screen, you'll be able to scroll inside the container using the scroll bar.
Use containers within Vertical container
For complex apps, you may consider adding containers within a vertical container control. And then, adjust the height of the form and the inner container as shown below.
Ensure you're using a blank screen, and not a scrollable screen.
Select Insert > Layout, and then select Vertical container.
From the right-side of the screen in the properties pane, select Vertical Overflow property drop-down, and choose Scroll.
Select Insert > Layout, and then select Container.
From the right-side of the screen in the properties pane, turn Flexible height property to Off.
Add the edit or display form with the required fields.
To enable scrolling within the screen for the form, update the height of the container added in step 4, and the form.
For more information about working with responsiveness of an app, see Building responsive canvas apps and Responsive layouts
See also
Feedback
Submit and view feedback for