diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-15 00:42:22 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-15 00:42:22 +0000 |
| commit | cd10200c64572ab09112ddda55fc1057bac233ab (patch) | |
| tree | 26678955e83be805853e122aa0155b76e95b0c1c /apps/mobile/components/bookmarks | |
| parent | e2dcf1b06f79c8e0284a009700b00efcfbc0e83f (diff) | |
| download | karakeep-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.tsx | 3 |
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} /> ); |
