OnAppearing of Page called again, although this page was on already replaced NavigationStack #25089
Labels
p/2
Work that is important, but is currently not scheduled for release
platform/android 🤖
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
Starting from MainPage(1), when clicking a button I put a page on navigation stack.
OnAppearing of this page(2) triggers an process in my app (in bug-repo it shows a display alert).
Clicking the button on the page replaces the navigation stack by another page (3).
Clicking the button on this page navigates to MainPage(1), but calling the OnAppearing-Event of the page(2).
Steps to Reproduce
Checkout + Build Repo
Click on the button on each view to perform the navigation that produces the issue
A display alert is shown when "Select Device Page" is shown (the first time its okay)
After showing MainPage again the display alert is shown again (which it should not).
Link to public reproduction project repository
https://github.com/messemaSICKAG/BugRepoOnAppearingCall
Version with bug
8.0.91 SR9.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: