prevent mobile zoom, fix bug with scroll to hash, move zoom control

This commit is contained in:
Will Freeman
2024-10-04 13:42:21 -05:00
parent ac0ec415a2
commit 64da95d76a
3 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import HomeView from '../views/HomeView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
scrollBehavior(to, from, savedPosition) {
if (to.hash) {
if (to.hash && !to.hash.startsWith('#map')) {
return {
el: to.hash,
behavior: 'smooth',