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

Scroll to top when using notify

My canvas apps height is quite tall and when a user clicks a save button I've placed at the bottom of the screen, I want the focus to be back to the top, so they can ready the notification message I've added.

 

Is there a way to do this easily, like a set focus or scroll to function?

1 ACCEPTED SOLUTION

Accepted Solutions
CNT
Community Champion
Community Champion

@bfausti 

There is no function to scroll in PA. A workaround would be to SetFocus() to one of the following controls that you have at the top. If you don't have any you can create a tiny tiny one and set all its colours to transparent.

Button  control
Icon  control
Image  control
Label  control
TextInput  control

View solution in original post

3 REPLIES 3
CNT
Community Champion
Community Champion

@bfausti Notify("message") always displays a message at the top irrespective of where you are in your screen.

This is correct but I am embeding my canvas app in an iframe and need it to scroll up otherwise you don't see the message at all.

CNT
Community Champion
Community Champion

@bfausti 

There is no function to scroll in PA. A workaround would be to SetFocus() to one of the following controls that you have at the top. If you don't have any you can create a tiny tiny one and set all its colours to transparent.

Button  control
Icon  control
Image  control
Label  control
TextInput  control

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,668)