mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
fix menu on ios
This commit is contained in:
parent
f5e419ae9c
commit
d7ae2751af
@ -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)
|
||||
},
|
||||
|
@ -3,6 +3,8 @@ $mobileBreakPoint: 600px;
|
||||
$menuBreakPoint: 800px;
|
||||
|
||||
.app {
|
||||
overflow: hidden;
|
||||
|
||||
&__navigation {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
|
Loading…
Reference in New Issue
Block a user