react-to-print icon indicating copy to clipboard operation
react-to-print copied to clipboard

The FOOTER to only display at the LAST PAGE

Open codestitch opened this issue 1 year ago • 3 comments

I have this page, in which it has a header (not using

or tag), table contents and a footer (not using
or tag).

Currently, it has two pages, as seen in the screenshot. And the footer is displaying in each page. Currently, I'm using display: fixed, for the footer part.

What I wanted to achieve is that, the footer would only shot at the last page.

Is there a way to do it?

image

codestitch avatar Feb 13 '24 16:02 codestitch

Did you find any solution to it ?

ratnabh-classic avatar Feb 26 '24 08:02 ratnabh-classic

nope.

codestitch avatar Feb 26 '24 16:02 codestitch

Hi, apologies for the delayed response here. I feel like I've seen someone ask this before but I don't recall have they solved it. One option you might have is to change it so that it's not a display: fixed during the printing. Honestly, asking this in StackOverflow where there are many CSS experts might get you a better answer, as this question is fairly generic and not strictly related to react-to-print

MatthewHerbst avatar Feb 26 '24 23:02 MatthewHerbst