aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/components/bookmarks
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-15 00:42:22 +0000
committerMohamedBassem <me@mbassem.com>2024-03-15 00:42:22 +0000
commitcd10200c64572ab09112ddda55fc1057bac233ab (patch)
tree26678955e83be805853e122aa0155b76e95b0c1c /apps/mobile/components/bookmarks
parente2dcf1b06f79c8e0284a009700b00efcfbc0e83f (diff)
downloadkarakeep-cd10200c64572ab09112ddda55fc1057bac233ab.tar.zst
mobile: Fix keyboard interactions in search and signin form
Diffstat (limited to 'apps/mobile/components/bookmarks')
-rw-r--r--apps/mobile/components/bookmarks/BookmarkList.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/mobile/components/bookmarks/BookmarkList.tsx b/apps/mobile/components/bookmarks/BookmarkList.tsx
index 0c8ddb3c..e3c2bdb1 100644
--- a/apps/mobile/components/bookmarks/BookmarkList.tsx
+++ b/apps/mobile/components/bookmarks/BookmarkList.tsx
@@ -1,5 +1,5 @@
import { useEffect, useState } from "react";
-import { Text, View } from "react-native";
+import { Text, View, Keyboard } from "react-native";
import Animated, { LinearTransition } from "react-native-reanimated";
import { api } from "@/lib/trpc";
@@ -53,6 +53,7 @@ export default function BookmarkList({
data={data.bookmarks}
refreshing={refreshing}
onRefresh={onRefresh}
+ onScrollBeginDrag={Keyboard.dismiss}
keyExtractor={(b) => b.id}
/>
);