Print Button Glitch
Summary
The current Print button links to print.html (which doesn't exists) which causes the browser print dialog to be re-triggered repeatedly when users navigate back and forth, both on web and mobile browsers.
Expected Behavior
- Clicking Print opens the browser print dialog (
window.print())
- No page navigation occurs
- Canceling print or navigating back does not re-trigger printing
Actual Behavior
- Clicking Print navigates to
/print.html
- Print dialog is triggered
- Navigating back or switching tabs triggers print again
- This creates a UI glitch
Impact
This is a UI glitch that disrupts normal reading flow and ruins user experience, especially on mobile devices where back navigation is common.
Evidence
📹 Attached video demonstrating the repeated print trigger on:
Edit: print.html does exist, since this is a special page generated by mdBook