on a quick search, I found this answer.
Using page-break-inside: auto; basically says to dompdf "do what you would normally do when breaking pages."
To force a page break before/after your table you would use page-break-before: always; / page-break-after: always;.
To ask dompdf to avoid breaking inside an element you would use page-break-inside: avoid;.
Also dompdf debugger for quick debugging of your design.