Skip to content

jbrunton96/Tauri-Print-Repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tauri Print Repro

Minimal reproduction for macOS iframe print behaviour in Tauri.

It has exactly two buttons:

  • Print window: calls window.print()
  • Print iframe: calls iframe.contentWindow.print() on the iframe to its right

In Tauri on macOS, Print window works when core:webview:allow-print is present, but Print iframe never works. Both buttons work in Safari and other browsers.

Reproduction steps

  1. Run:
    npm install
    npm run dev
  2. Open Safari
  3. Press both buttons and see that they both spawn print dialogs
  4. Kill the server, then run:
    npm run tauri:dev
  5. Press both buttons and see that only the Print window button works

About

Minimal reproduction of iframe print bug on Mac Tauri

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors