Hi Sheeban,
Thank you for the patience.
We have further analysed about the reported issue, while repeating table header or footer our HTML converter will try to avoid the row break between the pages. If the row is not fit in the available location, it will be moved to the next page when repeat table header and footer. This is the default behavior in WebKit rendering engine.
So, Kindly try the Blink rendering engine for converting HTML to PDF, which will be based on the latest chrome headless rendering engine. It will preserve the PDF document like how the input HTML file displayed in browser and print preview option. Please refer below links for more information about Blink rendering engine.
Please let us know if you need any further assistance on this.
Regards,
Prakash V