cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
3ation
Resolver I
Resolver I

Notifications on Scrolling in Container or Gallery

Hi guys, 

 

We have two containers, Header and main section, the Main Section is scrollable. 

 

When the user scrolls, is there a way to know that scrolling is happening? (OnScroll?) 

We would like for example change the size of the Header, if the user scrolled down, and go to normal, if the user is at the top most scrollable item... 

 

Thanks in advance. 

 

4 REPLIES 4
pre
Community Support
Community Support

Hello @3ation 

Hope this video can help your requirement:: 

https://www.youtube.com/watch?v=0lNK9Bx4QKE

 

Thanks

Hi @pre , Thanks for this, useful, but not what I am looking for... 

Is there a way to know the scroll position? Say you have the canvas with 20 items, when scrolling down, and reaching the bottom, I want to say "You have reached the bottom" When Scrolling up, and reach the top, I wan to say " Reached the Top" etc.. as you scroll, some items are going to be scrolling off the screen, and some are coming into display, would be great to know which is displayed and which is not displayed in the canvas small window.

Thanks in advance.  Fadi

3ation
Resolver I
Resolver I

So far we found nothing, so we had to re-implement the scrolling with our version to be able to know this.. For a low code, we seem to have to write a LOT of code. 

 

I figured this out. I have a Vertical Container. Below it, I have an arrow pointing down to let the user know that there is more content in it. The last item in my container is called lastItem (for example). The arrow's visibility is set to lastItem.Y>=-200 (-200 being the distance one has to scroll to get to the bottom). This is also how you can check how far a user has scrolled.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (5,313)