You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use pagedown 0.16.1 and have a number of long tables that extend over several pages. I have noticed that pagedown renders last rows on each table, but they are not visible (see the current output). Update to pagedown 0.20 did not solve the issue. I would expect that the last rows of a long table should be visible on every page, or if they go over the boundaries, they should move to the next page and not just be hidden (see screenshots).
Current output:
Expected output:
I found a workaround that produces the expected output (makes the last row visible), but it would be great if there is a better solution or if the bug is fixed.
constintervalID=setInterval(()=>{// Wait until Paged.js is loaded and then remove the intervalif(Paged){clearInterval(intervalID);}else{return;}classMyHandlerextendsPaged.Handler{constructor(chunker,polisher,caller){super(chunker,polisher,caller);}afterPreview(){// This is the main part to fix the bug with "column-width": "auto"Array.from(document.getElementsByClassName("pagedjs_page_content")).forEach((el)=>{el.style.columnWidth="auto";});}}Paged.registerHandlers(MyHandler);},20);
Hi,
I use pagedown 0.16.1 and have a number of long tables that extend over several pages. I have noticed that pagedown renders last rows on each table, but they are not visible (see the current output). Update to pagedown 0.20 did not solve the issue. I would expect that the last rows of a long table should be visible on every page, or if they go over the boundaries, they should move to the next page and not just be hidden (see screenshots).
Current output:
Expected output:
I found a workaround that produces the expected output (makes the last row visible), but it would be great if there is a better solution or if the bug is fixed.
Here is the R code to reproduce the long table:
Tasks
The text was updated successfully, but these errors were encountered: