callstack / callstack/react-native-paper

Text is truncated when nested with different sizes.

Aperta
#4,459 1 commento 0 reazioni 1 assegnatario Rivendicata da @lukewalczak Vedi su GitHub
bug Typography
Lingua principale
TypeScript
Stelle
14.5k
Fork
2.2k
Merge medio
5g 23h
PR unite (30g)
12

Descrizione

### Current behaviour
When I nest two text tags inside a text tag and set the size of the second text tag larger than the first one, the height of the text will truncate the larger content. It doesn't work like the basic text tag in React Native.
Screenshot 2024-07-23 at 09 53 16
![Screenshot 2024-07-23 at 09 48 54](https://github.com/user-attachments/assets/71028bf0-bfc8-4652-b0bf-e787c4b90ad7)

### Expected behaviour
![Screenshot 2024-07-23 at 09 54 21](https://github.com/user-attachments/assets/96f3e134-c362-4b8f-aae3-45e9e8e86b2d)

### Your Environment

| software | version
| --------------------- | -------
| react-native | 0.72.14
| react-native-paper | 5.12.3
| node | 22.4.1

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.