Giter Site home page Giter Site logo

Comments (7)

joseph avatar joseph commented on September 27, 2024

The line in dimensions/columns.js where it says not to use setX because of old iOS glitching — change it to use setX. I'll push the change to master this week.

— J

On Jul 30, 2015, at 7:38 AM, viktorvas19 [email protected] wrote:

Hi !!!

The Monocle reader not work in Google Chrome version 44.0.2403.89. In previous versions there were no problems, but Chrome change the css rander (http://googlechromereleases.blogspot.com.es/2015/07/stable-channel-update_21.html) and now does not work

Any solution?

Best regards !!!


Reply to this email directly or view it on GitHub.

from monocle.

viktorvas19 avatar viktorvas19 commented on September 27, 2024

Thank you!

Your tip has been very helpful

Have a great day! :)

from monocle.

AbhilashThomas avatar AbhilashThomas commented on September 27, 2024

@viktorvas19 Kindly elaborate.

from monocle.

yosimasu avatar yosimasu commented on September 27, 2024

Hi,

My chrome version is 44.0243.125.

  1. I fix dimensions/columns.js with @joseph 's suggestion.
    The first page of every chapter is invisible.
    Recalculate page count doesn't work fine.

  2. I try http://test.monoclejs.com/test/experimental/iframe-loading/ on chrome.
    I found:
    work fine:
    Normal Url
    document.write
    Data URI
    Import from iframe

    Every javascript stuff doesn't work.

So I try to fix core/component.js loadFrameFromHTML.
modify

if (Monocle.Browser.env.loadHTMLWithDocWrite) {
      frame.contentDocument.open('text/html', 'replace');
      frame.contentDocument.write(src);
      frame.contentDocument.close();
} else {
      frame.contentWindow['monCmptData'] = src;
      frame.src = "javascript:window['monCmptData'];"
}

to

frame.contentDocument.open('text/html', 'replace');
frame.contentDocument.write(src);
frame.contentDocument.close();

It seems to work fine!

from monocle.

osanwe avatar osanwe commented on September 27, 2024

@yosimasu It helped me too but I'm not sure that this is a right way...

from monocle.

AbhilashThomas avatar AbhilashThomas commented on September 27, 2024

Yes, lets wait for official fix.

from monocle.

joseph avatar joseph commented on September 27, 2024

Thanks @yosimasu, that points the way to another fix. I've updated master with two fixes based on using translate3d instead of translateX, and this secondary fix of using document.write. Hopefully Google will address this in upcoming Chrome releases (the situation does seem to have improved in Chrome Canary).

from monocle.

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.