Open nocalla opened 4 months ago
Thanks for reporting this, @nocalla !
As you can see in #1200, the table code is currently under a fundamental overhaul. I don't know if there is a quick fix possible for the current code, but otherwise you'll have to be patient until that PR lands. It will be more flexible about page breaks in general, and hopefully solve your problem as well.
Error details In the below example, a series of 10 tables of two rows each is created using the
unbreakable
context manager based on the logic described here.Instead of the page break triggering before the
unbreakable
context manager as described, the table that triggers the page break (which should have cells labelled Test 31 to Test 37) does not get displayed.This is perhaps down to me not fully understanding the syntax around using
unbreakable
, but I don't think so! I'm open to correction, of course!Minimal code
Environment Please provide the following information:
fpdf2
version used: 2.7.9