Text Not Show Content When style both set borderWidth and backgroundColor.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 127k
- Forks
- 25.3k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 4
Description
Description
Text Not Show Content When style both set borderWidth and backgroundColor.
if Text style is styles.tag, the '预售' Not Show,only show backgroundColor
else style is styles.tag, the '停止营业' Can show normally
like this
The Code:
style class:
Code link: https://github.com/zdpdsy/reproducer/blob/main/ReproducerApp/App.tsx
Steps to reproduce
1.cd ReproducerApp
2. npm run start
3. run Xcode
React Native Version
0.73.9
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of npx react-native info
Node Version : v20.11.1
Stacktrace or Logs
none log
Reproducer
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked reproducer's ReproducerApp/App.tsx and the style class, then run npm run start and the app in Xcode on iOS with React Native 0.73.9 and Fabric enabled. Compare the two text cases that use borderWidth and backgroundColor; done means both text labels render their content while retaining the background and border styling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100