Skip to content

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

replace scrollview with gesture handler one

ammarahm-ed62da71735211
diff --git a/apps/mobile/src/components/properties/index.js b/apps/mobile/src/components/properties/index.js
index 1948648ed..f5a0d3d6d 100644
--- a/apps/mobile/src/components/properties/index.js
+++ b/apps/mobile/src/components/properties/index.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { Platform, ScrollView, View } from 'react-native';
+import { Platform, View } from 'react-native';
import { useThemeStore } from '../../stores/use-theme-store';
import { DDS } from '../../services/device-detection';
import { presentSheet } from '../../services/event-manager';
@@ -17,10 +17,10 @@ import { Tags } from './tags';
import { Topics } from './topics';
import SearchService from '../../services/search';
import { COLORS_NOTE } from '../../utils/color-scheme';
+import { ScrollView } from 'react-native-gesture-handler';
export const Properties = ({ close = () => {}, item, buttons = [], getRef }) => {
const colors = useThemeStore(state => state.colors);
-
const alias = item.alias || item.title;
const isColor = !!COLORS_NOTE[item.title];
@@ -38,7 +38,8 @@ export const Properties = ({ close = () => {}, item, buttons = [], getRef }) =>
backgroundColor: colors.bg,
paddingHorizontal: 0,
borderBottomRightRadius: DDS.isLargeTablet() ? 10 : 1,
- borderBottomLeftRadius: DDS.isLargeTablet() ? 10 : 1
+ borderBottomLeftRadius: DDS.isLargeTablet() ? 10 : 1,
+ maxHeight: '95%'
}}
>
{!item || !item.id ? (