@@ -58,19 +58,6 @@ export default function KeyboardExtendExample() {
58
58
testID = "donation_amount"
59
59
/>
60
60
61
- < KeyboardExtender enabled = { showExtend } >
62
- < Reanimated . View style = { [ styles . keyboardExtend , animatedStyle ] } >
63
- < TouchableOpacity onPress = { ( ) => Alert . alert ( "10$" ) } >
64
- < Text style = { styles . priceText } > 10$</ Text >
65
- </ TouchableOpacity >
66
- < TouchableOpacity onPress = { ( ) => Alert . alert ( "20$" ) } >
67
- < Text style = { styles . priceText } > 20$</ Text >
68
- </ TouchableOpacity >
69
- < TouchableOpacity onPress = { ( ) => Alert . alert ( "50$" ) } >
70
- < Text style = { styles . priceText } > 50$</ Text >
71
- </ TouchableOpacity >
72
- </ Reanimated . View >
73
- </ KeyboardExtender >
74
61
< OverKeyboardView visible = { isOKVMode } >
75
62
< View style = { { flex : 1 , justifyContent : "flex-end" } } >
76
63
{ /* TODO replace hardcoded value */ }
@@ -82,6 +69,19 @@ export default function KeyboardExtendExample() {
82
69
</ OverKeyboardView >
83
70
</ SafeAreaView >
84
71
</ TouchableWithoutFeedback >
72
+ < KeyboardExtender enabled = { showExtend } >
73
+ < Reanimated . View style = { [ styles . keyboardExtend , animatedStyle ] } >
74
+ < TouchableOpacity onPress = { ( ) => Alert . alert ( "10$" ) } >
75
+ < Text style = { styles . priceText } > 10$</ Text >
76
+ </ TouchableOpacity >
77
+ < TouchableOpacity onPress = { ( ) => Alert . alert ( "20$" ) } >
78
+ < Text style = { styles . priceText } > 20$</ Text >
79
+ </ TouchableOpacity >
80
+ < TouchableOpacity onPress = { ( ) => Alert . alert ( "50$" ) } >
81
+ < Text style = { styles . priceText } > 50$</ Text >
82
+ </ TouchableOpacity >
83
+ </ Reanimated . View >
84
+ </ KeyboardExtender >
85
85
</ >
86
86
) ;
87
87
}
0 commit comments