fix editor scroll on android

This commit is contained in:
ammarahm-ed
2020-11-01 09:33:32 +05:00
parent 9b2cd1196e
commit c6dc94b53f
2 changed files with 2 additions and 1 deletions

View File

@@ -168,7 +168,7 @@ function attachEditorListeners() {
console.log(bounds)
setTimeout(() => {
document.querySelector(".app-main").scrollTo({top:bounds.top,behavior:"smooth"})
},250)
},500)
});

View File

@@ -71,6 +71,7 @@
},
placeholder: 'Start writing your note',
theme: 'snow',
scrollingContainer: '.app-main'
});
let Font = Quill.import('formats/font');