mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 05:42:33 +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 { View as AnimatedView } from 'react-native-animatable'
|
||||||
import { Portal } from 'react-native-portalize';
|
import { Portal } from 'react-native-portalize';
|
||||||
import styles from '../children/inputSupportModal.styles';
|
import styles from '../children/inputSupportModal.styles';
|
||||||
@ -22,15 +22,15 @@ export const InputSupportModal = ({children, visible, onClose}: InputSupportModa
|
|||||||
duration={300}
|
duration={300}
|
||||||
animation='fadeInUp'>
|
animation='fadeInUp'>
|
||||||
<>
|
<>
|
||||||
<View style={styles.container} onTouchEnd={onClose} />
|
<View style={styles.container} onTouchEnd={onClose} />
|
||||||
{
|
{
|
||||||
Platform.select({
|
Platform.select({
|
||||||
ios: (
|
ios: (
|
||||||
<KeyboardAvoidingView style={styles.container} behavior="padding">
|
<KeyboardAvoidingView behavior="padding">
|
||||||
{children}
|
{children}
|
||||||
</KeyboardAvoidingView>
|
</KeyboardAvoidingView>
|
||||||
),
|
),
|
||||||
android: <View style={styles.container}>{children}</View>,
|
android: <View>{children}</View>,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user