fix menu on ios
This commit is contained in:
@@ -202,10 +202,11 @@ export default {
|
||||
},
|
||||
|
||||
mounted() {
|
||||
// what the hell is wrong with iOS safari
|
||||
setTimeout(() => {
|
||||
this.handleResize()
|
||||
this.$nextTick(() => {
|
||||
this.initSearch()
|
||||
})
|
||||
}, 0)
|
||||
|
||||
window.addEventListener('resize', this.handleResize)
|
||||
},
|
||||
|
||||
@@ -3,6 +3,8 @@ $mobileBreakPoint: 600px;
|
||||
$menuBreakPoint: 800px;
|
||||
|
||||
.app {
|
||||
overflow: hidden;
|
||||
|
||||
&__navigation {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user