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