Printing does not work in firefox correctly, because the print call needs to be wrapped in a setTimeout call, like so:
setTime(() => {
iframe.contentWindow.print();
callback && callback(iframe);
_this.changed = false;
_this.props.onEnd();
}, 1);
I can prepare a PR if you would like :)
Printing does not work in firefox correctly, because the print call needs to be wrapped in a
setTimeoutcall, like so:I can prepare a PR if you would like :)