futurepress/epubjs-rn

flow 'scrolled' is not working in android

Opened this issue · 8 comments

flow='scrolled' is not working in android(working fine in ios). In android epub is not scrollable. 'paginated' working fine with android.

You can regenerate in library example just replace flow:"paginated" with flow:"scrolled" in state App.js

What version of Android are you using?
I haven't seen any issues with scrolled.

@fchasen
Here is version
"epubjs": "0.3.66",
"epubjs-rn": "0.0.124",
"react-native": "0.49.0",
"react": "16.0.0-beta.5"

I was testing on Samsung s7 and it has oreo os. I had the same issue with other android devices as well.

Here is sample app where i regenerated issue: https://github.com/jariwalabhavesh/epub-test/tree/master

You just need

  1. clone it
  2. npm install
  3. react-native run-android

Then it will load epub on screen. now try to scroll it. It will not scroll it and if allowed then it will be laggy.

@jariwalabhavesh I had the same issue and upgraded to 1.1 to fix

@thekuom : Where did you found 1.1 version of epubjs-rn?
There is no releases in repo

https://www.npmjs.com/package/epubjs-rn It is listed as the @next version, not the @latest version

@thekuom : Thanks for providing information on this. I am still stuck on this issue. I will try @next version and let you know.
Can you tell me which version of epubjs your using. So i can use same and try

I didn't download epubjs explicitly, but lock file says it has downloaded 0.3.84

@thekuom : okay great, Thank you. I will try that