Nativebase: KeyboardAvoidingView in native base

Created on 14 Aug 2017  路  3Comments  路  Source: GeekyAnts/NativeBase

Is there any way to do KeyboardAvoidingView easily in native base? I am trying to implement the "View scrolling" when a keyboard is interfering an TextInput. You know what i mean

awaiting response

Most helpful comment

IOS seems to do that by default. On android i found out that using KeyboardAvoidingView from native is needed.

<KeyboardAvoidingView behavior="padding" style={{ flex: 1 }}>
<Content>...</Content>
</KeyboardAvoidingView>

Is this however anti-pattern in native-base?

All 3 comments

IOS seems to do that by default. On android i found out that using KeyboardAvoidingView from native is needed.

<KeyboardAvoidingView behavior="padding" style={{ flex: 1 }}>
<Content>...</Content>
</KeyboardAvoidingView>

Is this however anti-pattern in native-base?

No thats not available with native-base

Closing this
Please reopen this issue if help needed

Was this page helpful?
0 / 5 - 0 ratings