Small jerk in the composer top border and the messages list when composer input changes from filled to unfilled and vice-versa in Android only.
See original GitHub issueIssue Description
I am facing a small jerk in the composer top header and the message listing when the Composer Text Input changes from Filled to UnFilled state and vice-versa in Android only. In iOS, everything works fine.
Steps to Reproduce / Code Snippets
- Tap on the Composer text input
- Start typing
- When first character is typed into the input and back button is pressed and text input is made empty, small jerk occurs. Whenever the composer size is changes, the jerk occurs.
- However, when I dig deep into the code of the composer and comment the
onContentSizeChange
method in theComposer.js
file inside thenode-modules
, the jerk disappears but the composer height does not changed on hitting Enter or going to new line. - Code:
<GiftedChat
messages={this.state.messages}
onSend={messages => this.onSend(messages)}
user={{
_id: 1,
}}
alwaysShowSend
/>
Expected Results
The composer input should not jerk when composer size changes on Android.
Additional Information
- Nodejs version: 10.16.0
- React version: 16.9.0
- React Native version: 0.61.5
- react-native-gifted-chat version: 0.13.0
- Platform(s) (iOS, Android, or both?): Android
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Untitled
Mini split system heat pump reviews, Pd-m9000, Sprint data only plan tablet. ... Game android 2014 seru, Airline names list, Heart of the...
Read more >Untitled
Daymak 401 pocket bikes, Woman in t shirt only, Different type de roche volcanique, Tvs motor bike models, Jamie lee thurston song list,...
Read more >Untitled
96 jeep cherokee problems starting, Best speed reading app android, Piment thai marseille menu! Dewalt d25102! Phipps conservatory pittsburgh events, ...
Read more >Natural Processing Langugage and Swift Key-THe importance ...
The file size of each document is extremely large, in further analysis we will have to only use a fraction of these documents...
Read more >project1_tweets.txt - surdeanu.info
#happy Just added myself to the http://wefollow.com twitter directory under: #mom #happy ... Cuz they're not filled w/ amazing cartoons like we had...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like whats causing this issue is a hard coded value for lineHeight of the TextInput. Overriding that value with
undefined
solved this issue for me:I am still facing this small jerk issue. Please let me know if anyone found the solution for this.