cometchat / cometchat-uikit-react-native

Ready-to-use Chat UI Components for React Native
https://www.cometchat.com
Other
40 stars 24 forks source link

Text Input does not use multi-line. Double Tap doesnt apply period in ios as result. #45

Closed EdGitLink closed 4 months ago

EdGitLink commented 2 years ago

CometChatMessageComposer --Consider wrapping the TextInput and adjust styles. --If you have a better solution, please adjust as needed.

index.js

this.changeHandler(text)} onBlur={this.endTyping} ref={this.messageInputRef} />

style.js messageInputContainer:{ minHeight: '5%', maxHeight:75, borderRadius: 20, backgroundColor: 'rgba(0,0,0,0.05)', paddingBottom:9, paddingTop:9, width:'90%' }, messageInputStyle: { color: 'black', fontSize: 15, paddingLeft:10, paddingRight:10, paddingBottom:0, paddingTop:-10 },