Coder Social home page Coder Social logo

Comments (6)

yuritpinheiro avatar yuritpinheiro commented on May 27, 2024

I had the same issue and found a work around / cause, when the page is rendered its z-index is set to -1, and if you change this parameter the page became visible again. Just found the issue and tested this.

from ng2-pdf-viewer.

jasonburrows avatar jasonburrows commented on May 27, 2024

Yeah I've experimented with including "z-index: 2;" in the style attribute but it doesn't make any difference in how it displays. Where exactly were you changing the z-index?

Thanks!

from ng2-pdf-viewer.

yuritpinheiro avatar yuritpinheiro commented on May 27, 2024

at styles on the browser F12. There a simple solution, don't know if it fits your problems, but if you set the option render-text to false it works to.

[render-text]
Enable text rendering, allows to select text

Hope it helps.

from ng2-pdf-viewer.

jasonburrows avatar jasonburrows commented on May 27, 2024

Ah - I see. I have a workaround as well for now (I just don't specify a background color for the containing div and everything is OK). Thanks for your help!

from ng2-pdf-viewer.

yuritpinheiro avatar yuritpinheiro commented on May 27, 2024

setting the render text you may set the back color

from ng2-pdf-viewer.

prashanthyD avatar prashanthyD commented on May 27, 2024

setting the render text you may set the back color

Hi all,

If i will give render-text = false. then also in Google Pixel 3 i am getting the text in white color from 14th page of PDF. in other devices it is normal.

from ng2-pdf-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.