mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 19:31:54 +03:00
updated inputSupportModal tappable overlap to adapt to modal height
This commit is contained in:
parent
db9f810cac
commit
ba109a7479
@ -1,4 +1,4 @@
|
||||
import React, { Component } from 'react';
|
||||
import React from 'react';
|
||||
import { View as AnimatedView } from 'react-native-animatable'
|
||||
import { Portal } from 'react-native-portalize';
|
||||
import styles from '../children/inputSupportModal.styles';
|
||||
@ -22,15 +22,15 @@ export const InputSupportModal = ({children, visible, onClose}: InputSupportModa
|
||||
duration={300}
|
||||
animation='fadeInUp'>
|
||||
<>
|
||||
<View style={styles.container} onTouchEnd={onClose} />
|
||||
<View style={styles.container} onTouchEnd={onClose} />
|
||||
{
|
||||
Platform.select({
|
||||
ios: (
|
||||
<KeyboardAvoidingView style={styles.container} behavior="padding">
|
||||
<KeyboardAvoidingView behavior="padding">
|
||||
{children}
|
||||
</KeyboardAvoidingView>
|
||||
),
|
||||
android: <View style={styles.container}>{children}</View>,
|
||||
android: <View>{children}</View>,
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user