GithubHelp home page GithubHelp logo

duindain / pdfjsgrey Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.71 MB

PDF js solution using Xamarin forms with an issue rendering PDF's as grey on the first few loads

C# 2.16% JavaScript 91.83% CSS 4.34% HTML 1.68%

pdfjsgrey's Introduction

PDFjsGrey

PDF js solution using Xamarin forms with an issue rendering PDF's as grey/disabled on multiple loads until finally rendering correctly

I've added a screenshot once opening the app and downloading the PDF it opens and is greyed out and looks disabled and is very hard to read Reloading the same PDF multiple times eventually renders as expected

This seems to be happening frequently on various devices and Android emulators, some devices render correctly immediately others seem to always render grey first

Once the PDF renders correctly it stays rendering correctly regardless of how many loads are repeated

I am currently using;

  • Android 9 API 28 emulator with Chrome 66.0.3359.158
  • Xamarin Forms 4.1.0.555618
  • PDF.js 2.1.266

I have tried the v2.2.228 PDF.js version as well it seemed to render slower on each load and did not solve the issue unfortunately

Chrome remote debugging shows only one line each time for the MVVM Book Preview pdf document, the line doesnt change whether the document is rendered in grey text or normal

PDF a542b7ae69a71147a88b29253c4b493c [1.5 Microsoft® Word 2013 / Microsoft® Word 2013] (PDF.js: 2.1.266)

pdfjsgrey's People

Contributors

duindain avatar

Watchers

 avatar  avatar

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.