After sending a multiline message the composer remains in the multiline size, this only resizes to normal size after inserting a key inside.
Writing a multiline message:

After send:

Write a multiline text inside de composer.
Here is my Composer code:
import React, { memo } from 'react'
import { Composer } from 'react-native-gifted-chat'
import { withTheme } from 'styled-components'
import { Platform } from 'react-native'
const RenderComposer = ({ props, theme: { color, chat: { screen: { textInputStyle } } } }) => (
<Composer
{...props}
textInputStyle={{
fontSize: textInputStyle.fontSize,
color: textInputStyle.color,
backgroundColor: color.white,
borderRadius: textInputStyle.borderRadius,
width: textInputStyle.width,
height: textInputStyle.height,
borderColor: color.neutral300,
paddingTop: textInputStyle.paddingTop,
paddingHorizontal: textInputStyle.paddingHorizontal,
marginRight: textInputStyle.marginRight,
shadowColor: color.shadowColor,
shadowOffset: {
width: textInputStyle.shadowOffset.width,
height: textInputStyle.shadowOffset.height
},
shadowOpacity: textInputStyle.shadowOpacity,
shadowRadius: textInputStyle.shadowRadius,
elevation: textInputStyle.elevation,
marginBottom: Platform.OS === 'ios' ? 4 : 0
}}
/>
)
export default withTheme(memo(RenderComposer))
After send the message, the composer returns to the normal size.
Same here :/
Up
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Same here :/