mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
fix editor scroll on android
This commit is contained in:
@@ -168,7 +168,7 @@ function attachEditorListeners() {
|
|||||||
console.log(bounds)
|
console.log(bounds)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
document.querySelector(".app-main").scrollTo({top:bounds.top,behavior:"smooth"})
|
document.querySelector(".app-main").scrollTo({top:bounds.top,behavior:"smooth"})
|
||||||
},250)
|
},500)
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,7 @@
|
|||||||
},
|
},
|
||||||
placeholder: 'Start writing your note',
|
placeholder: 'Start writing your note',
|
||||||
theme: 'snow',
|
theme: 'snow',
|
||||||
|
scrollingContainer: '.app-main'
|
||||||
});
|
});
|
||||||
|
|
||||||
let Font = Quill.import('formats/font');
|
let Font = Quill.import('formats/font');
|
||||||
|
|||||||
Reference in New Issue
Block a user