fix(client): menu stays active while printing

This commit is contained in:
Elian Doran 2025-09-15 19:42:31 +03:00
parent 377de59df9
commit 982d136151
No known key found for this signature in database

View File

@ -297,7 +297,8 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
return; return;
} }
window.print(); // Trigger in timeout to dismiss the menu while printing.
setTimeout(window.print, 0);
} }
async exportAsPdfEvent() { async exportAsPdfEvent() {