Prevent zoom when opening place from search results

This commit is contained in:
2026-04-27 14:44:35 +01:00
parent d2eb888dcf
commit cf251f702b

View File

@@ -12,6 +12,7 @@ export default class SearchTemplate extends Component {
if (place) {
this.mapUi.returnToSearch = true;
this.mapUi.showSidebar();
this.mapUi.preventNextZoom = true;
// We don't need to manually set currentSearch here because
// it was already set in the route's setupController
this.router.transitionTo('place', place);