HOW TO CREATE A GALLERY SCROLLABLE IN BOTH DIRECTIONS
Power Apps

HOW TO CREATE A GALLERY SCROLLABLE IN BOTH DIRECTIONS

Content type Blog Post
Author Laurens Martens
Publication Date 17 Jan, 2026
Reading Time Less than 1 minute

The Power Apps gallery controls allow developers to easily display tabular data from a datasource or local collection. Currently we have 3 gallery types (1) Vertical gallery, (2) Horizontal gallery and (3) Flexible height gallery (vertical lay-out). The preferred gallery type will depend on how you would like to visualize the data.

While all galleries have native scroll functionality, the scroll direction is dependent on the chosen gallery type. The horizontal gallery for instance only permits scrolling on the horizontal axis, and vice versa for the vertical gallery.

Some time ago I answered an interesting question on the Power Apps Community forum, where a horizontal gallery had to be scrollable in both directions. In this blog post we will lea
how to leverage the vertical container control to allow galleries to scroll in both directions regardless of gallery type.

Table of Contents

  1. Vertical gallery
    1. Add a vertical container
    2. Adjust vertical container properties
    3. Final result vertical gallery
  2. Horizontal Gallery
    1. Add a vertical container
    2. Adjust vertical container properties
    3. Final result horizontal gallery
  3. Horizontal gallery limitation
    1. Possible workaround
    2. Required property adjustments

About the Author

Laurens Martens is a Power Platform Developer at delaware with a main focus on Power Apps, Power Automate and Dataverse. As a recognized Microsoft Power Apps Community Super User, he loves to share his passion within the Power Platform community through blog posts and answering technical questions on the community forums. As a self-taught developer obsessed with all things low code (and his three cats) he aims to bring a fresh perspective to the benefits of low code development from both a business and technical point of view.

References

Martens, L., (2023), ‘HOW TO CREATE A GALLERY SCROLLABLE IN BOTH DIRECTIONS’, available at: https://laurensm.com/how-to-create-a-gallery-scrollable-in-both-directions/, [accessed on 27th March 2024].