Scroll back to top between onboarding steps. Fix #27.
This commit is contained in:
parent
194c4cf3d7
commit
530184a817
@ -77,6 +77,11 @@ export default {
|
|||||||
this.$router.push({ name: 'Map' });
|
this.$router.push({ name: 'Map' });
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
step() {
|
||||||
|
window.scrollTo(0, 0);
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user