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.

Oppo A77 - Some texts gets cut-off

See original GitHub issue

Environment

  1. react-native -v: 0.34 through 0.59
  2. node -v:4.4.7
  3. npm -v: 4.5.0
  4. yarn --version:
  • Target Platform: Android
  • Development Operating System: Windows
  • Build tools: The issue is specific to Oppo A77 model. Note that upgrading to latest react-native version is not an option now due to breaking changes and time constraints

Steps to Reproduce

There’s no necessary steps to produce these bug. You just have to run the app either in dev or production

Expected Behavior

Texts should not be cut-off

Actual Behavior

Some texts are cut-off as shown below. These cut-off issue doesnt occur in iphone and other phone models except Oppo A77

Screenshots: image

image

Those screenshots are just few of the texts that are cut-off

Sorry i can’t provide a link to the project

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:17
  • Comments:111 (27 by maintainers)

github_iconTop GitHub Comments

135reactions
yeswanthcommented, Oct 11, 2017

I have faced similar issues in OnePlus 5. These issues only happen in a OnePlus 5 phone when you have chosen “OnePlus Slate” font in Settings. If you change the font to Roboto, the issues don’t occur. I’m gonna ship Roboto font along with my app in the next version to go around this.

81reactions
johnwookcommented, Aug 28, 2017

@mykelaballe cc @hramos We’ve had similar issue(some texts getting cut off in Oppo device). Although it’s not a complete solution, we found some hacky-way to solve this problem.

in short, (at least in our case) just adding empty space at the end of the text seems work. my colleague @saystone will explain in detail 😃

for example, use 1.5.3+space instead of 1.5.3(space at the end of the string)

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Oppo A77 - Some texts gets cut-off
In Oppo A77 model, texts gets cut-off. This issue doesn't occur in Samsung, iPhone and other Oppo model. This happens either dev or ......
Read more >
Expo on Twitter: "@numToStr It's a bug in React Native that affects ...
It's a bug in React Native that affects some Android phones. ... Oppo A77 - Some texts gets cut-off · Issue #15114 ·...
Read more >
How to Speed Up Slow and Laggy OPPO Phone
Other methods If your phone becomes lagging when playing videos: When ... A poor signal can cause the line to cut off and...
Read more >
Why SMS messages get cut off... and what you can do about it
You've likely heard that SMS messages are limited to 160 characters (letters, numbers, spaces, punctuation, etc.). This is usually true, but ...
Read more >
OPPO Smartphones Get Price Cuts, Details Here | Cashify News
OPPO the Chinese manufacturer has cut off the prices of its OPPO F21 Pro, OPPO A55, and OPPO A77 models in India.
Read more >

github_iconTop Related Medium Post

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