Skip to content

Commit

Permalink
fix: adjust bar height over keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
castdrian committed Apr 7, 2024
1 parent a5ab7f4 commit 8b7bf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/expo/src/app/(tabs)/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 8b7bf5d

Please sign in to comment.