Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text overflows vertically when trying to render tables #2735

Open
gumbyscout opened this issue Apr 30, 2024 · 1 comment
Open

Text overflows vertically when trying to render tables #2735

gumbyscout opened this issue Apr 30, 2024 · 1 comment

Comments

@gumbyscout
Copy link

Describe the bug
When trying to render a table with long text content in its cells, the text frequently overflows out of their respective cells. Also probably semi related, but borders will sometimes follow the overflowing text in being drawn over elements such as footers.

I've tried suggestions in other issues (like splitting the text before passing it as a child to a <Text/> component) and none of them fixed the issue for me.

To Reproduce
REPL example

Expected behavior
Text is contained within its parent cell.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: chrome
  • React-pdf version: 3.4.4
@stefanwittwer
Copy link

+1, I've encountered the same issue in the past

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants