Files
jmap-webmail/components
Matthieu MALVACHE 2a18f6a414 fix(print): wire the overlay via beforeprint so Ctrl+P also works
The overlay-and-clone trick was only set up from the Print button
click handler, so pressing Ctrl+P / Cmd+P or choosing Print from the
browser menu bypassed it and produced a blank page. Move the
overlay creation into a beforeprint listener attached while the
viewer is mounted, so every print trigger — shortcut, menu, or button
— goes through the same cloning path. afterprint cleans up on both
successful prints and cancellations.
2026-04-17 13:41:36 +02:00
..