My React component is capable of rendering markdown and can span multiple pages. Everything looks great when the component is displayed in the browser - scrolling works perfectly.
However, whenever I try to print the page using window.print or ctrl + P, only a single page is captured. The content does not split into multiple pages and there is no scrolling available in the preview.
Could someone please provide some guidance on how to fix this issue? Thank you!