I am facing an issue with Page break, where my div starts at the page end rather than being at the next page after applying the page-break.
I have referred this question How to deal with page breaks when printing a large HTML table and made some adjustments to my CSS properties
.items-list {
page-break-inside:avoid;
page-break-after:auto;
}
Basic structure of HTML file
<div class="row items-list" *ngFor="let country of countryWiseData">
<div class="col-3"></div>
<div class="col-3"></div>
<div class="col-3"></div>
<div class="col-3"></div>
</div>
My issue is with the Continuation of Div's section, I need the broken div to be part of next page.