Skip to content

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

@ghost

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.

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