Text Not Show Content When style both set borderWidth and backgroundColor.
Nessuno ha ancora preso questa issue.
- Lingua principale
- C++
- Stelle
- 127k
- Fork
- 25.3k
- Merge medio
- 1g 23h
- PR unite (30g)
- 4
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react-native, typescript
- Ambito
- mobile
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100