futurepress / epub.js

Enhanced eBooks in the browser.
http://futurepress.org
Other
6.32k stars 1.08k forks source link

Rendering without iframes triggers "Uncaught TypeError: view.offset is not a function" #1050

Open legible-media-account opened 4 years ago

legible-media-account commented 4 years ago

I'm getting this error while trying to load the epub without an iframe - loading it in the page by using view: InlineView from import InlineView from 'epubjs/lib/managers/views/inline'

I'm using it inside a React application

hrkazemi commented 4 years ago

I have the same error and also prevent changing pages at some point with rendition.next();

UniqueDing commented 2 years ago

when display same page, the error will produce