Rendering process never ends
Hi,
In some cases the rendering process never ends.
PagedJS create a new page to put the content on it, but the content does not fit due to some constraints in place (e.g. break-inside: avoid) and it tries over and over.
IMHO, PagedJS should detect such cases and stop the rendering process with an appropriate feedback:
Exemple:
window.PagedPolyfill.preview().catch(function(error) {
// handle the error during the rendering process
});
What do you think about that?
Regards, Alexandre