callstack / callstack/react-native-paper

Text is truncated when nested with different sizes.

Open
#4,459 1 comment 0 reactions 1 assignee Claimed by @lukewalczak View on GitHub
bug Typography
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.