You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| animationTime | number | Time to move the view out of the way when the keyboard opens. | 150 |
285
+
| animationEasing | Animated.EasingFunction | Easing function to use for both opening and closing animation.<br>Opening animation will use `Easing.out(animationEasing)`, while closing animation<br>will use `Easing.in(animationEasing)`. | Easing.quad |
286
+
| extraSpace | number | How much space there should be between the keyboard avoiding element and the keyboard. | 20 |
287
+
279
288
### `KeyboardAvoiderView` Props
280
-
All `View` props will be passed. Additionally, the following props can be passed:
289
+
Supports all React Native `View` props as well as all [common props](#common-keyboardavoider-props).
| avoidMode | 'whole-view'<br>'focused-input' | Which avoid mode to use.<br>'whole-view' will move the entire view out of the way.<br>'focused-input' will move just enough to show the input plus the extra space. | 'whole-view' |
| animationTime | number | Time to move the view out of the way when the keyboard opens. | 150 |
285
-
| avoidMode | 'whole-view'<br>'focused-input' | Which avoid mode to use. <br>'whole-view' will move the entire `KeyboardAvoidingView` out of the way.<br>'focused-input' will only show the focused input. | 'whole-view' |
| extraSpace | number | How much space there should be between the keyboard avoiding element and the keyboard. | 20 |
295
-
| animationTime | number | Time to move the view out of the way when the keyboard opens. | 150 |
296
-
| iosHideBehavior | 'stay'<br>'revert' | What to do when the keyboard hides on iOS.<br>'stay' makes it where the scrollview stays where it is when the keyboard closes.<br>'revert' makes it where the scrollview returns to its original position. | 'stay' |
306
+
| iosHideBehavior | 'stay'<br>'revert' | Behavior when the keyboard hides on iOS.<br>'stay' makes it where the scroll view stays where it is when the keyboard closes.<br>'revert' makes it where the scroll view returns to its original position. | 'stay' |
0 commit comments