Skip to content

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

do not listen to scroll events on small tablet in header title

ammarahm-ede9e9a3fdf649
diff --git a/apps/mobile/src/components/Header/HeaderTitle.js b/apps/mobile/src/components/Header/HeaderTitle.js
index 47bfa95c3..a5b889689 100644
--- a/apps/mobile/src/components/Header/HeaderTitle.js
+++ b/apps/mobile/src/components/Header/HeaderTitle.js
@@ -28,7 +28,7 @@ export const HeaderTitle = () => {
const onScroll = async (y) => {
- if (DDS.isLargeTablet()) return;
+ if (DDS.isTab) return;
if (typeof y !== 'number') {
if (y.type === 'back') {
scrollPostions[y.name] = null;