Description
The page wraps when the content doesn't fit, but the new page ends up being empty. This issue occurs in a small overflow region—when the content exceeds the page by just a little. However, if the overflow is significant, the behavior is correct, and the content is pushed to the next page as expected.
Has anyone encountered a similar issue or knows how to resolve this?
To Reproduce
Create a Document that has automatic page wrapping and create content that is overflowing one page a little bit
Expected behavior
Either it should fit on one page or it should break push overflowing content to the next page
Screenshots
Desktop (please complete the following information):
Description The page wraps when the content doesn't fit, but the new page ends up being empty. This issue occurs in a small overflow region—when the content exceeds the page by just a little. However, if the overflow is significant, the behavior is correct, and the content is pushed to the next page as expected.
Has anyone encountered a similar issue or knows how to resolve this?
To Reproduce Create a Document that has automatic page wrapping and create content that is overflowing one page a little bit
Expected behavior Either it should fit on one page or it should break push overflowing content to the next page
Screenshots
Desktop (please complete the following information):
"@react-pdf/renderer": "3.4.4", "@react-pdf/types": "2.5.0", "react-pdf-tailwind": "2.3.0", "react": "18.3.1"