Skip to content

No flip animation each page is rendering independantly #54

@ZofSlytherin

Description

@ZofSlytherin

i am fetching a list of document from an api and its an array of object each object contains url key with s3 bucket url as value
below code is rendering files but each page and pdf is rendering separately thus making page flip animation not working
i think it is because of pagnumber calculation please provide support

{filteredData.map((item, index) => { return ( <Document key={index} file={item.url}> <HTMLFlipBook width={width} height={height}> <Page pageNumber={1} /> </HTMLFlipBook> </Document> ); })}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions