Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(dialog): use height behavior in KeyboardAvoidingView

Jonathan Scholz547d1547bb73
diff --git a/react/features/base/dialog/components/native/BaseDialog.js b/react/features/base/dialog/components/native/BaseDialog.js
index a2f969ab32..ff225b7cc8 100644
--- a/react/features/base/dialog/components/native/BaseDialog.js
+++ b/react/features/base/dialog/components/native/BaseDialog.js
@@ -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