fix(dialog): use height behavior in KeyboardAvoidingView

This commit is contained in:
Jonathan Scholz 2020-04-21 15:07:00 +02:00 committed by Saúl Ibarra Corretgé
parent 39853e048b
commit 547d1547bb
1 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,6 @@ import AbstractDialog, {
type State
} from '../AbstractDialog';
import { brandedDialog as styles } from './styles';
import { Platform } from '../../../react';
export type Props = AbstractProps & {
@ -56,7 +55,7 @@ class BaseDialog<P: Props, S: State> extends AbstractDialog<P, S> {
return (
<TouchableWithoutFeedback>
<KeyboardAvoidingView
behavior = { Platform.OS === 'ios' ? 'padding' : 'height' }
behavior = 'height'
style = { [
styles.overlay,
style