-
Notifications
You must be signed in to change notification settings - Fork 892
remove scrollbar styles on screenshot #8040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| */ | ||
| function prepareCellElementForScreenshot(element: HTMLElement) { | ||
| const originalOverflow = element.style.overflow; | ||
| const maxHeight = element.style.maxHeight; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could try cloneNode()
That might help avoid messing up the view on auto-export
for more information, see https://pre-commit.ci
|
I think |
Maybe this isn't the behaviour you are talking about, but if you turned on auto-export, and then Download to PDF, it wouldn't re-take the screenshots. That's because we didn't detect that the value changed to retake screenshots. |
📝 Summary
🔍 Description of Changes
📋 Checklist