diegomura / diegomura/react-pdf
Numbers don't go to the next line, instead they overlap with others if numbers exceed the width of the parent tag width.
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
**Describe the bug**
A clear and concise description of what the bug is.
If there are Numbers in the Text tag, they overlap with the adjacent text when they exceed the Width of the View. But if there is non-numeric data, the text gets hyphenated.
**To Reproduce**
Steps to reproduce the behaviour:
1. Create a document with a page in it
2. Create a row inside in which there is numeric and non-numeric data
3. For eg:
```
{/* Table */}
0316202487894892748
OT103ST829479374892
Men 100% COTTON
DENIM PANT Men 100% COTTON
DENIM PANT
26-44/34
4.45345
4312iy8428y492y482
85293847982478924
274892347242947828
73895739758347583
892374823749728
2789423748924728
```
**Expected behaviour**
if the number exceeds the width of the View, it should go to the next line **without hyphenation**.
**Screenshots**

If there is text, then hyphenation works, but in the case of numbers, the text overlaps
Contributor guide
Assessment
This issue has not been assessed yet.