Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One of Text's characters is just half rendered on Android #38219

Closed
jcdhlzq opened this issue Jul 6, 2023 · 6 comments
Closed

One of Text's characters is just half rendered on Android #38219

jcdhlzq opened this issue Jul 6, 2023 · 6 comments
Labels
Needs: Triage 🔍 Newer Patch Available Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@jcdhlzq
Copy link
Contributor

jcdhlzq commented Jul 6, 2023

Description

Test case : https://snack.expo.dev/vyBu3Fm-d
The text "已售5.15万哈哈哈哈哈哈哈" is expected to be rendered on the screen with some of the text characters, but we got one of the characters is half rendered as the following image shows on Android. On iOS devices, it can work around with ellipsizeMode = {'wordWrapping'} .

React Native Version

0.72.1

Output of npx react-native info

System:
OS: macOS 13.3.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 29.83 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.13.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.6.7 - /usr/local/bin/npm
Watchman: 2023.03.13.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33
Build Tools: 23.0.1, 25.0.3, 26.0.1, 26.0.3, 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.0, 30.0.2, 30.0.3, 31.0.0, 33.0.0
System Images: android-18 | Intel x86 Atom, android-18 | Google APIs ARM EABI v7a, android-22 | Google APIs ARM EABI v7a, android-30 | Google Play Intel x86 Atom
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode: 14.3/14E222b - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_291 - /usr/bin/javac
Python: 2.7.5 - /Users/lzq/Library/Android/sdk/ndk-bundle/prebuilt/darwin-x86_64/bin/python
npmPackages:
@react-native-community/cli: 4.14.0 => 4.14.0
react: 16.11.0 => 16.11.0
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

Run the code example below

Snack, code example, screenshot, or link to a repository

https://snack.expo.dev/vyBu3Fm-d

image
@github-actions
Copy link

github-actions bot commented Jul 6, 2023

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.72.1. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@github-actions github-actions bot added the Platform: Android Android applications. label Jul 6, 2023
@jcdhlzq jcdhlzq closed this as completed Jul 6, 2023
@jcdhlzq jcdhlzq reopened this Jul 7, 2023
@jcdhlzq
Copy link
Contributor Author

jcdhlzq commented Jul 7, 2023

I've tested the issue with the pr #37667. The issue doesn't occurred on Android. The effect now is equal to that on iOS with ellipsizeMode = {'wordWrapping'}. But I doubt that we get a new problem about consistency of 'clip'. I'm not certain for no iOS devices on hand now.

@jcdhlzq
Copy link
Contributor Author

jcdhlzq commented Jul 7, 2023

image

Copy link

github-actions bot commented Jan 4, 2024

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 4, 2024
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@fabOnReact
Copy link
Contributor

I believe that the PR was reverted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Newer Patch Available Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants