Skip to content
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

Weird page load glitch #135

Open
anzuj opened this issue Mar 30, 2022 · 0 comments
Open

Weird page load glitch #135

anzuj opened this issue Mar 30, 2022 · 0 comments
Assignees

Comments

@anzuj
Copy link

anzuj commented Mar 30, 2022

Describe the bug
Upon page load, there's a dark-grey box appearing on the left side of the screen and it disappears after half a second. This results in a flicker every time the page with the PDF download button is loaded. How can I avoid this?

(not sure if relevant, but I'm also using Vuetify)

To Reproduce
Steps to reproduce the behavior:
Put the following in the template. Reload page.

  <button @click="generateReport"> PDF</button>
       <vue-html2pdf
        :show-layout="false"
        :float-layout="true"
        :enable-download="true"
        :preview-modal="false"
        :paginate-elements-by-height="1400"
        filename="Dashboard"
        :pdf-quality="2"
        :manual-pagination="false"
        pdf-format="a4"
        pdf-orientation="portrait"
        pdf-content-width="800px"
        ref="html2Pdf"
    >
        <section slot="pdf-content">
    content for pdf
        </section>
    </vue-html2pdf>

Screenshots
flicker

Package Version
e.g. 1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants