mirror of
https://github.com/zhigang1992/react-native-gifted-chat.git
synced 2026-04-29 04:35:46 +08:00
Replace deprecated onChange with onContentSizeChange (#500)
This commit is contained in:
@@ -28,7 +28,7 @@ export default class Composer extends React.Component {
|
||||
placeholderTextColor={this.props.placeholderTextColor}
|
||||
multiline={this.props.multiline}
|
||||
|
||||
onChange={(e) => this.onChange(e)}
|
||||
onContentSizeChange={(e) => this.onChange(e)}
|
||||
onChangeText={text => this.onChangeText(text)}
|
||||
|
||||
style={[styles.textInput, this.props.textInputStyle, {height: this.props.composerHeight}]}
|
||||
|
||||
Reference in New Issue
Block a user