We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
react-pageflip has a problem with nextjs and getPageFlip does not work.
https://stackoverflow.com/questions/68883595/typeerror-this2-flipbook-getpageflip-is-not-a-function
The text was updated successfully, but these errors were encountered:
Experiencing the same issue!
on version 2.0.3 react: 17.0.2
Sorry, something went wrong.
Have you guys got anything related to this or any alternative for flipbook? I am facing same issue
For function components This work for me
const bookRef = useRef(null) const nextButtonClick = () => { bookRef.current.pageFlip().flipNext() } const prevButtonClick = () => { bookRef.current.pageFlip().flipPrev() } <HTMLFlipBook onFlip={onFlip} width={616} height={872} showCover={true} ref={bookRef} > // ...my render page </HTMLFlipBook>
No branches or pull requests
react-pageflip has a problem with nextjs and getPageFlip does not work.
https://stackoverflow.com/questions/68883595/typeerror-this2-flipbook-getpageflip-is-not-a-function
The text was updated successfully, but these errors were encountered: