Skip to content

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

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions