Description:
After sending a multiline message the composer remains in the multiline size, this only resizes to normal size after inserting a key inside.
Same as in this issue: #1929
Details:
I am not rendering a custom Composer like in the other issue. However I am rendering a custom InputToolbar so just in case I will leave this here:
const inputToolbarContainerStyle: StyleProp<ViewStyle> = {
backgroundColor: theme.colors.borderLight,
borderColor: theme.colors.inactive,
borderStyle: 'solid',
borderWidth: 1,
borderRadius: 8,
}
renderInputToolbar={(props) => {
return (
<InputToolbar
{...props}
containerStyle={inputToolbarContainerStyle}
renderSend={(props) => {
const sendLabel = isMobile() ? 'Senden' : 'Senden ↵'
return (
<Send
{...props}
label={sendLabel}
containerStyle={{ borderWidth: 0 }}
textStyle={{ ...theme.typography.r15 }}
/>
)
}}
/>
)
}}
Packages:
- "react-native-gifted-chat": "^3.3.2"
- "react-native": "0.83.1"
- "react": "19.2.4"
- Plattform: Desktop web
Expected Results
After send the message, the composer returns to the normal size.
Description:
After sending a multiline message the composer remains in the multiline size, this only resizes to normal size after inserting a key inside.
Same as in this issue: #1929
Details:
I am not rendering a custom Composer like in the other issue. However I am rendering a custom InputToolbar so just in case I will leave this here:
Packages:
Expected Results
After send the message, the composer returns to the normal size.