web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Popup -reappearing whe...
Power Apps
Answered

Popup -reappearing when it shouldn't be

(0) ShareShare
ReportReport
Posted on by 71

Hi,

So I have a small issue.

I have a gallery of items, I can select on each to view that item. I can then edit that item if I so wish.

I press a button in the view screen that will take me to an edit screen(where I can edit an item). 

I press a button that shows a pop up asking whether I want to go ahead with these changes or not. I press yes or no and it works okay.

But if I go back to the gallery and then view that item again. But once I hit the edit button, it takes me to the popupbox first and not the edit screen. If I press "No", it clears the popup and lets me edit.

 

Its like, when I press the edit button, its bringing me to the last saved position of the screen(which is the popup).

Is there something I'm missing here??

 

From "View Screen" On Select = EditForm(EditForm1);Navigate(EditScreen1, ScreenTransition.None)

From "Edit Screen" On Select = UpdateContext({ShowPopUpMobile:true})

From PopUp  On select = UpdateContext({ShowPopUpMobile:false})  or On select=SubmitForm(EditForm1)

 

Edit form

on Success = back()

on reset = false

on failure = false

 

Any ideas, or solutions would be much appreaciated.

 

 

Screenshot 2022-08-15 172713.png
Screenshot 2022-08-15 172857.png
Screenshot 2022-08-15 172838.png
Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @JohnB2 

    Add the following to your OnSuccess action formula of the form:

        UpdateContext({ShowPopUpMobile:false})

     

    I hope this is helpful for you.

  • JohnB2 Profile Picture
    71 on at

    Your a genius, that worked👍 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard