Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed Dec 17, 2024
1 parent 4d66653 commit 5ef0708
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/src/tests/TestAndroidTransitions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function FormSheet({ navigation }: RouteProps<'FormSheet'> | RouteProps<'Modal'>
<View style={{ alignItems: 'center' }}>
<TextInput style={{ marginVertical: 12, paddingVertical: 8, backgroundColor: 'lavender', borderRadius: 24, width: '80%' }} placeholder="Trigger keyboard..."></TextInput>
</View>
<View style={{ backgroundColor: 'lightcoral', height: 500, width: '100%' }} />
</View>
);
}
Expand Down Expand Up @@ -87,8 +88,8 @@ export default function App() {
}} />
<Stack.Screen name="FormSheet" component={FormSheet} options={{
presentation: 'formSheet',
sheetAllowedDetents: [0.5, 0.7, 0.9],
//sheetAllowedDetents: 'fitToContents',
//sheetAllowedDetents: [0.5, 0.7, 0.9],
sheetAllowedDetents: 'fitToContents',
sheetLargestUndimmedDetentIndex: 'none',
contentStyle: {
backgroundColor: 'lightgreen',
Expand Down

0 comments on commit 5ef0708

Please sign in to comment.