WIP Fix back button behavior

fixes #12
This commit is contained in:
2026-02-08 16:46:07 +04:00
parent 348b721876
commit 3fdbc7f56f
5 changed files with 114 additions and 3 deletions

View File

@@ -56,6 +56,8 @@ export default class PlaceRoute extends Route {
deactivate() {
// Clear the pin when leaving the route
this.mapUi.clearSelection();
// Reset the "return to search" flag so it doesn't persist to subsequent navigations
this.mapUi.returnToSearch = false;
}
async loadOsmPlace(id, type = null) {