Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

reduce the scroll on focus

ammarahm-ede9fd1cf52920
diff --git a/apps/mobile/src/views/Editor/tiny/tiny.js b/apps/mobile/src/views/Editor/tiny/tiny.js
index 0a6e3b91c..261efaa05 100644
--- a/apps/mobile/src/views/Editor/tiny/tiny.js
+++ b/apps/mobile/src/views/Editor/tiny/tiny.js
@@ -12,7 +12,11 @@ window.blur();
`;
const keyboardStateChanged = `(() => {
- window.scrollBy(0,45)
+ window.scrollBy({
+ top: 45,
+ left: 0,
+ behavior: 'smooth'
+ })
})();
`;
const blur = `