Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple call to ref.current.rendition.next() not working #175

Open
ghost opened this issue Jul 16, 2020 · 0 comments
Open

Multiple call to ref.current.rendition.next() not working #175

ghost opened this issue Jul 16, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 16, 2020

Hi,

I'm currently trying to animate swiping with epubjs-rn.
But to do that, I need to load three epub instance, to display prevPage, currentPage, and
nextPage.

To manage that, I need to call rendition.next() about three times.
But my problem is, sometimes it is not working.
Maybe because some contents of epub, some htmls are not yet loaded in the reader, and still not scrollable and visible.

Is there a way for me to somehow call a function to load more content on the epub?

Please help me, or if you have other way to do the animation. Please share with me. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants