-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Nested break does not cause page to wrap #1037
Comments
I had the same problem, seems like padding style on tag breaks page wrapping. Try nesting in and put in then remove all the styles from page and put in on ... Think of tag like a div tag. Your code would look something like this: |
Downgrade to 1.6.10 and try... |
IN VERION 1.6.10 NOT WORK show all my document
|
NOT WORK |
please @diegomura help what happened here ? |
For me page breaking also does not work even with no UPD. After some experiments I've found out that |
@dmytro-shchurov I think that is because 'px' is not a valid unit for measurement in PDF. When you use Btw, this goes for @alew140 too, there are 'px' values in the |
Copying what I addressed in #1163:
Also, 2.0 version probably fixes the snippets you shared above. Please try it and let me know! |
@diegomura |
@diegomura can confirm that on version @react-pdf/renderer@2.1.1 nested break is not working |
Any update on nested page breaks? I am on version 3.1 and still having this problem, here is a minimal example
|
Thank you @OliverLeighC . I had to make the View independent like this, according to your comment and it worked. Thank you. |
Describe the bug
i have only a page ( Not break and generate other page is one page )
To Reproduce
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
"@react-pdf/renderer": "^1.6.11",
The text was updated successfully, but these errors were encountered: