-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in firefox it does not trigger preview window #93
Comments
Please try using the newest version and let us know if it works or not: |
Hi The version i'm using is 2.0.0-alpha-6 and the issue exists on this version |
Interesting. When I test it, the print popup opens, but there is not image. Is that the same behavior you are seeing? I wonder if there's some flag we need to pass that's specific to Firefox, or something else. |
Yep, it only triggers the print window but not preview window. I didnt dig into it, but it might have something to do with tabs.printpreview(). Although this is for the whole tab preview, might have some workaround for iframe? |
|
I am getting this or a similar issue on Firefox mobile, reported by Sentry:
I tried myself and indeed the pdf is not shown |
Did you find a solution? I'm having this issue right now. |
Hi, no, I just disabled it on firefox mobile, while on normal firefox it
seems to work fine
…On Fri, 13 Mar 2020 at 13:56, Andersclark ***@***.***> wrote:
Did you find a solution? I'm having this issue right now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#93 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHJ3EID3N7AB4RUUEIZMZ3RHIUPVANCNFSM4GTGN62A>
.
--
Alessandro Muraro
LinkedIn <https://www.linkedin.com/in/alessandromuraro/> - alexmuraro.me
|
Yeah. I seemed to have plugins interfering...
…On Mon, Mar 16, 2020, 08:39 Alex Muraro ***@***.***> wrote:
Hi, no, I just disabled it on firefox mobile, while on normal firefox it
seems to work fine
On Fri, 13 Mar 2020 at 13:56, Andersclark ***@***.***>
wrote:
> Did you find a solution? I'm having this issue right now.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#93 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAHJ3EID3N7AB4RUUEIZMZ3RHIUPVANCNFSM4GTGN62A
>
> .
>
--
Alessandro Muraro
LinkedIn <https://www.linkedin.com/in/alessandromuraro/> - alexmuraro.me
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#93 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLR3YZXYAZL377DV4LRXJ3RHXJSLANCNFSM4GTGN62A>
.
|
I am adding in a check for this, as well as an error message specifying that printing cannot happen because the browser does not support contentWindow.focus(); // Required for IE
contentWindow.print(); |
**@MatthewHerbst -Thanks for getting back to me! I suppose we are talking about two issues:**
I'm mostly concerned with the second one, since I bothered writing a component for printing, which is now not displayed in FF. As far as I can tell, FF simply does not have an interface for previewing prints. The window.print()-method does not do this on FF and since preview is a browser feature, not a W3C-standard it cannot be force, only the menu option triggers preview. But maybe you could try About the FF for Android-issue: It seems like they simply do not support the API at all: |
I'll take a look at |
@Andersclark there is some really good (and really long) discussion about all of this in this bug report/feature request/pr, which is where the FireFox only It seems that Firefox opening the print dialog on However, |
I am using the latest version of firefox and still don't get the print preview and also not able to print. Is this issue fixed? |
Hi @sunilb0575 If you read above, you will see that, AFAIK, there is no ability to programmatically show the print preview window in Firefox for an arbitrary iframe. If you know of a way to do so, or know someone who might, please direct them here or to the linked SO question. As for the error you are getting, can you please create a codesandbox or similar that I can use to replicate that? I just checked the demo example on the latest Firefox and it works without issue. I would also suggest you create a new issue for the error. |
Thanks, @MatthewHerbst the not-printing issue was happening because of a plugin on my local. So I am good now. |
Ubuntu 20.04 focal fossa I had the same problem with the "Autofill" extension enabled. Disabling it fixes the problem. As a diagnose technique I suggest to use the "Private mode". |
I'm using firefox 65.0 64bit firefox with win10. When I try to print this https://codesandbox.io/s/vj843ljyk3 from chrome v71, a preview window will jump out. However on firefox, there's only a print window instead of preview window. If i try print the whole page from the settings, the preview window will be out but of course with all the unneccesary contents.
Is this a solved issue or to-solve issue? I cant find any reference.
The text was updated successfully, but these errors were encountered: