Data is getting truncated at the page end and displaying other half in next page in a Pdf render. This issue is reproducing only on ios 17 version ipads wheere data is loading with wkwebView.

I need help for this issue which is happening only in ios 17 ipad devices. I have an application which generates report in a pdf form. We are loading the html file as a string to webkit webView which is further helping us by generating the content in pdf format. our report contains rows & columns which uses div tags and few css properties. If we view the report which is in pdf form, the data is getting truncated for a row horizentally at the page end and displaying the remaing truncated data in the next page.

This issue is happening only in ios 17 updated devices. It was working fine and displaying the data correctly with same html content.

Please let me know any possible ways through which I can resolve this issue. I have tried few properties like page-break-X(inside,before,after)- avoid; margin-bottom, padding etc...nothing worked for me.