Skip to content

Does not print in Firefox #11

@cameracker

Description

@cameracker

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions