callstack / callstack/react-native-paper

Text is truncated when nested with different sizes.

未关闭
#4,459 1 条评论 0 个 reaction 已指派 1 人 已被 @lukewalczak 认领 在 GitHub 查看
bug Typography
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。