Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Navigate function not working correctly - flashing back to the screen the button is in.

Posted on by
I have an app with a button and a simple function to Navigate from the ViewScreen to the HomeScreen. This app is a copy of another app created months ago with the same set up which is working just fine.
In the new one, all navigation buttons take you for a second to the indicated screen and flash right back to the screen you were. 
If I am in the ViewScreen, click on the Home button, it navigates to the HomeScreen for 1 second and then back to the ViewScreen. 
Same with another button in the ViewScreen to Navigate from ViewScreen to EditScreen, it flashes right back to the original screen.
 
It is a simple function, and I have the same set up in old apps but for some reason, the one created yesterday doesn't work.
 
The code I have in the EditScreen, in the On Select property: Navigate('HomeScreen')
In the View Screen, I have an Edit icon with the On Select property: EditForm(EditForm);Navigate(EditScreen)
In the View Screen I also have a Home Icon with the On Select property: Navigate('HomeScreen')
 
When you click on those icons, the user is taken to the desire screen for 1 second and then it goes back to either the EditScreen or the ViewScreen.
Categories:
  • RobDin Profile Picture
    RobDin 48 on at
    Navigate function not working correctly - flashing back to the screen the button is in.
    Without knowing the code you've implemented, it's hard to say. You should probably post the code for OnSelect on the button that takes you from the HomeScreen to the ViewScreen and the button coming back.  Also post the OnVisible on the HomeScreen and ViewScreen. With that it might be more clear where the problem is.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,532

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,050

Leaderboard