fine tuned reply modal experience

This commit is contained in:
noumantahir 2022-06-01 12:53:22 +05:00
parent bfa37ed681
commit e78c8e8e1a
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ export default EStyleSheet.create({
}, },
modalContainer: { modalContainer: {
paddingVertical: 4, paddingTop: 4,
paddingBottom: Platform.select({ paddingBottom: Platform.select({
ios:isIphoneX() ? getBottomSpace() - 20 : 12, ios:isIphoneX() ? getBottomSpace() - 20 : 12,
android: 20 android: 20
@ -42,12 +42,12 @@ export default EStyleSheet.create({
fontWeight: '500', fontWeight: '500',
}, },
inputContainer: { inputContainer: {
paddingHorizontal: 16, paddingVertical: 6,
paddingVertical: 8,
height: 120, height: 120,
}, },
textInput: { textInput: {
color: '$primaryBlack', color: '$primaryBlack',
paddingHorizontal:16,
fontSize: 16, fontSize: 16,
flexGrow: 1, flexGrow: 1,
fontWeight: '500', fontWeight: '500',

View File

@ -32,7 +32,7 @@ const QuickReplyModal = ({ fetchPost }: QuickReplyModalProps, ref) => {
<ActionSheet <ActionSheet
ref={sheetModalRef} ref={sheetModalRef}
gestureEnabled={true} gestureEnabled={true}
keyboardShouldPersistTaps="handled" keyboardShouldPersistTaps="always"
containerStyle={styles.sheetContent} containerStyle={styles.sheetContent}
keyboardHandlerEnabled keyboardHandlerEnabled
indicatorColor={EStyleSheet.value('$primaryWhiteLightBackground')} indicatorColor={EStyleSheet.value('$primaryWhiteLightBackground')}