Applies to Product - Power Apps
What’s happening?
PowerApps is not returning to the home screen when the back button is clicked. Instead, it may close the app unexpectedly or navigate incorrectly after multiple interactions within the app.
Reason:
This occurs due to the management of the Window.history property in Unified Interface apps, which can lead to extra or unexpected history entries. This behavior is influenced by custom scripts and the shared browser history among Unified Interface apps.
Resolution:
- For the navigation issue in Unified Interface apps, manage the Window.history property to remove any extra or unexpected history entries that may interfere with the correct backward navigation.
- If the app closes unexpectedly on Android devices when the back button is pressed, consider implementing a confirm exit message, although it may disrupt the user experience. Alternatively, explore options to modify the back button behavior to navigate to the previously accessed application instead of closing the app entirely.
