Infinite pagination when using custom HTML tags in Google Chrome
I am facing infinite pagination issue in Paged when using Chrome browser. The PDF is rendered as expected in Chromium, Firefox and Safari but causes infinite pages in Chrome and Edge. Even in Chrome, the issue is content triggered - it occurs when I use a custom HTML tag that has content larger than the page. On debugging the code on both the browsers (Chrome and Chromium), I found out that getBoundingClientRect() method returns different results for the custom HTML tag in both of them. This causes it to be added as a breakToken recursively and thus cause infinite pagination.