Content cut off when printing
See original GitHub issueI have a table which contains only one colum. I draw speech bubbles in it, similar to Whatsapp. Now I have
responsive: 'scroll'
and
overrides: { MUIDataTable: { responsiveScroll: { maxHeight: '100%' } } }
set.
Unfortunately, when I press on Print, a part is cut off. If I print the page with CTRL + P, it works, but the rest of the UI is on the paper.
Here is a photo (with button):
Here is a photo (CTRL + P): 
I suspect, when printing with the button, the virtual page is not as big as the content. How can I change that?
| Tech | Version |
|---|---|
| Material-UI | 3.9.2 |
| MUI-datatables | 2.0.0-beta.56 |
| React | 16.8.3 |
| browser | Safari / Chrome |
Issue Analytics
- State:
- Created 5 years ago
- Comments:10
Top Results From Across the Web
Why does my printer cuts off the bottom of the page?
If your printer cuts off bottom of the page, ensure that the printing format matches the paper size, manually configure the page, ...
Read more >Bottom of page cut off when printing - HP Support Community
Solved: When I print anything (PDF, web page) or use my printer's scanner to copy anything, the bottom of the page is cut...
Read more >Printed pages are cut off when printing from email or web brower
Printed pages are cut off when printing from email or web brower · 1. Open the Printers Folder. · 2. Right-click on the...
Read more >css - print stylesheet, one page prints and cuts off remaining text
In print.css, set overflow: visible instead of overflow: auto on div#content . That fixed it for me in Firefox at least.
Read more >How to fix HTML elements being cut off when printing
This is caused by having too many SSH keys added to your keyring or ssh-agent. Your ssh-agent will throw all keys against a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Also seeing this issue. When I had the table option of Responsive: ‘stacked’ it printed all rows. Now that I have it as ‘scroll’ (because it’s a better view on mobile), only the first 20 rows are printing and the rest cut off where the container has not expanded vertically.
I have to close this. Printing is dictated by styling. Default styles seem to work correctly. If there’s a bug, I need an issue with specific instructions and a minimal codesandbox example.