Skip to content

Commit

Permalink
keyboard avoiding in input is now a lot smoother
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankreedX committed Aug 19, 2024
1 parent 978b09a commit 838dbd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/segments/drill/[id]/submission/input.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { KeyboardAvoiderScrollView } from "@good-react-native/keyboard-avoider";
import {
BottomSheetModalProvider,
BottomSheetScrollView,
Expand All @@ -16,7 +17,6 @@ import {
} from "firebase/firestore";
import { useCallback, useEffect, useRef, useState } from "react";
import { Platform, StyleSheet, View, useWindowDimensions } from "react-native";
import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
import { Appbar, Button, Divider, Text } from "react-native-paper";
import { SafeAreaView } from "react-native-safe-area-context";
import { once } from "underscore";
Expand Down Expand Up @@ -927,7 +927,7 @@ export default function Input({ setToggleResult, setOutputData }) {
}
/>

<KeyboardAwareScrollView>
<KeyboardAvoiderScrollView>
{/* Shot Number / Total shots */}
<View style={styles.shotNumContainer}>
<Text style={styles.shotNumber}>
Expand Down Expand Up @@ -1021,7 +1021,7 @@ export default function Input({ setToggleResult, setOutputData }) {
<DrillDescription drillInfo={drillInfo} />
</BottomSheetView>
</BottomSheetWrapper>
</KeyboardAwareScrollView>
</KeyboardAvoiderScrollView>
{/* Navigation */}
<View style={styles.navigationContainer}>
<Text
Expand Down

0 comments on commit 838dbd6

Please sign in to comment.