sandanat / vue-pdf-app

VUEjs v2 PDF viewer based on Mozilla's PDFJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty/Blank print preview

jcdevz-dev opened this issue · comments

https://codesandbox.io/s/vue-2-vue-pdf-app-wz5kv?file=/src/views/ToolbarConfiguration.vue

Configuration:

  • Web browser and it`s version: Google Chrome Version 95.0.4638.69 (Official Build) (64-bit)
  • Operating system and it`s version: Linux / Windows 10
  • vue-pdf-app version: 2.1.0

Steps to reproduce the problem: On the Basic tab, click the print icon once and cancel. After that, navigate to Toolbar configuration tab and click the print icon. If the preview does not became empty, try to navigate back to basic tab and click the print icon.

What is the expected behavior?

not empty print preview

What went wrong?

empty print preview

Attachments (screenshots, links, etc)

image
image

I have the same problem

@jcdevz-dev did you solve this problem?

Here it is with the same problem

Encountered the same problem, but after checking the demo code, I found that I did not include import in main.js. After adding the code into main.js the print function starts working.

I have the same problem. I tried including the import in main.js as @TxLiFE suggested, but it didn't work. Has anyone managed to resolve this?

After a year doing another project I came back to this repo, wondering are you guys still having this issue? As I improved some of my code this time, I found out that having one general for the entire App could solve the problem.

Having the same issue till now. Anyone have any solution for this issue?

I have the the same problem