This commit is contained in:
Timothy Jaeryang Baek committed 2026-05-09 06:20:27 +09:00
1 parent f70b0da156
commit 34146ab60f
3 files changed
+160

No files matched your search

@@ -100,6 +100,11 @@
clonedElement.style.height = 'auto';
document.body.appendChild(clonedElement);
// Override content-visibility so html2canvas can capture all messages
clonedElement.querySelectorAll('.message-listitem').forEach((el) => {
el.style.contentVisibility = 'visible';
});
// Wait for DOM update/layout
await new Promise((r) => setTimeout(r, 100));
@@ -112,6 +112,11 @@
clonedElement.style.height = 'auto';
document.body.appendChild(clonedElement);
// Override content-visibility so html2canvas can capture all messages
clonedElement.querySelectorAll('.message-listitem').forEach((el) => {
el.style.contentVisibility = 'visible';
});
// Wait for DOM update/layout
await new Promise((r) => setTimeout(r, 100));