fix menu on ios

This commit is contained in:
Philipp Kühn 2021-02-04 09:42:27 +01:00
parent f5e419ae9c
commit d7ae2751af
2 changed files with 6 additions and 3 deletions

View File

@ -202,10 +202,11 @@ export default {
},
mounted() {
this.handleResize()
this.$nextTick(() => {
// what the hell is wrong with iOS safari
setTimeout(() => {
this.handleResize()
this.initSearch()
})
}, 0)
window.addEventListener('resize', this.handleResize)
},

View File

@ -3,6 +3,8 @@ $mobileBreakPoint: 600px;
$menuBreakPoint: 800px;
.app {
overflow: hidden;
&__navigation {
position: fixed;
display: flex;