From 669c61e559d099e4fda6020b8ecd5ebfb1c71583 Mon Sep 17 00:00:00 2001 From: Kyle Roach Date: Mon, 27 Nov 2017 23:17:37 -0400 Subject: [PATCH] [rn-modalbox] Added keyboardTopOffset --- types/react-native-modalbox/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/react-native-modalbox/index.d.ts b/types/react-native-modalbox/index.d.ts index 07ddebca2b..457872889b 100644 --- a/types/react-native-modalbox/index.d.ts +++ b/types/react-native-modalbox/index.d.ts @@ -135,6 +135,13 @@ export interface ModalProps extends ViewProperties { */ startOpen?: boolean; + /** + * This property prevent the modal to cover the ios status bar when the modal is scrolling up because the keyboard is opening + * + * Default is ios:22, android:0 + */ + keyboardTopOffset?: number; + /** * Event fired when the modal is closed and the animation is complete *