question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS][TextInput] emoji after a new line make the line disappear

See original GitHub issue

Description

On controlled TextInput, adding an emoji after a new line make the line disappear. Adding whatever character after make the line appear again.

Reproduction

The code https://rnplay.org/apps/XmdwqQ

screen capture on 2016-11-14 at 11-58-02

Additional Information

React Native: reproduced on 0.36.0, 0.37.0 & 0.38.0-rc.0 Platform: iOS Component: TextInput

Thanks for your help 🚀

Edit 11/21/2016

The issue disappears when forcing the lineHeight of the Text. ( Thanks @linmic )

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
linmiccommented, Nov 21, 2016

@ahanriat @vinch Use the value property instead? Is there any reasons should you wrap another <Text> in <TextInput>?

Employ value here should avoid the issue you mentioned. Alternatively, you can specify a proper lineHeight for the <Text>, which would work for you as well.

0reactions
KavithaSarascommented, Mar 21, 2018

@ahanriat can you please share this plugin link?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Type with the onscreen keyboard on iPhone - Apple Support
While typing text using the onscreen keyboard, touch and hold the Next Keyboard Emoji key or the Switch Keyboard key , then tap...
Read more >
iPhone Predictive Text, Emoji Not Working, How-To Fix
Try typing a bunch of random emojis into a text. Hit return to begin a new line, and type a word that you...
Read more >
How to Use Emoji on your Mac - Readdle
By default, Apple includes a special Emoji keyboard for iPhone or iPad along with every iOS release. In fact, the company even adds...
Read more >
iPhone 13/13 Pro: How to Add/Remove the Emoji Keyboard
Learn how you can add or remove the emoji keyboard on the iPhone 13 ... no information contained in this video shall create...
Read more >
How To Enable Emoji Keyboard On The iPhone or iPad
In this video, I show you how to enable (or disable) the Emoji keyboard on the iPhone, iPad or iPod. Emoji is a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found