Instant loading makes print dialog autoclose
See original GitHub issueWhen I add navigation.instant
theme option CTRL + P dialog closes on any page. The problem is gone when I remove that option.
To reproduce
- Go to https://majkinetor.github.io/mm-docs-template/
- Hit CTRL + P wait 2 seconds
- Print dialog should close by itself
Sometimes CTRL + P works the first time but just hitting F5 or ctrl + F5 and then doing it again can change the outcome.
- I’ve read the [contribution guidelines][1] and agree with them
I’ve found a bug and checked that …
- … the problem doesn’t occur with the default MkDocs template
- … the problem is not in any of my customizations (CSS, JS, template)
- … the documentation does not mention anything about my problem
- … there are no open or closed issues that are related to my problem
Package versions
- Python: 3.6
- MkDocs: 1.1.2
- Material: 6.2.6
Project configuration
System information
- Windows 10 10.0.19042 N/A Build 19042
- Chrome 88.0.4324.104 (sometimes work, mostly doesn’t)
- Edge 88.0.705.56 (never works)
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Close window automatically after printing dialog closes
The best way is closing the popup window once the print dialog is closed (printing is done or cancelled). At this moment, the...
Read more >449109 - window.print() at page load immediately returns ...
The tab immediately closes when it's opened by a script, as user created tabs can't be closed with window.close(). On Android, this causes...
Read more >Opening a PDF brings up the Print dialog - Super User
Open Edit -> Preferences; Click on Javascript on the left-hand pane; Uncheck Enable Acrobat Javascript on the right-hand pane.
Read more >3 Quick Ways to Enable or Disable Chrome's System Print ...
1. How do I turn off the Print dialog box in Chrome? · Right-click your Google Chrome desktop shortcut. · Select the Properties...
Read more >Print Dialog Boxes Slow to Open - Adobe Support Community
30 seconds to open dialogue box, slow to change anything within it and slow to exit or print other than to cancel the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that master works.
No problem. Thanks.