From 8b7bf5da6d8bf5f27452d641359169b7ca833005 Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Sun, 7 Apr 2024 21:46:05 +0200 Subject: [PATCH] fix: adjust bar height over keyboard --- apps/expo/src/app/(tabs)/search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/expo/src/app/(tabs)/search.tsx b/apps/expo/src/app/(tabs)/search.tsx index aca0ad8..0f77f5f 100644 --- a/apps/expo/src/app/(tabs)/search.tsx +++ b/apps/expo/src/app/(tabs)/search.tsx @@ -46,7 +46,7 @@ export default function SearchScreen() { "keyboardWillShow", (e) => { translateY.value = withTiming( - -(e.endCoordinates.height - 110), // determines the height of the Searchbar above keyboard, use Platform.select to adjust value if needed + -(e.endCoordinates.height - 100), // determines the height of the Searchbar above keyboard, use Platform.select to adjust value if needed { duration: e.duration ?? 250, // duration always returns 0 on Android, adjust value if needed easing: Easing.out(Easing.ease),