From cd10200c64572ab09112ddda55fc1057bac233ab Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Fri, 15 Mar 2024 00:42:22 +0000
Subject: mobile: Fix keyboard interactions in search and signin form

---
 apps/mobile/components/bookmarks/BookmarkList.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'apps/mobile/components/bookmarks/BookmarkList.tsx')

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}
     />
   );
-- 
cgit v1.2.3-70-g09d2

