mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
do not listen to scroll events on small tablet in header title
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user