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

Anyone else - previous.current.restoreCard is not a function? 😬 #143

Open
ScottAgirs opened this issue Feb 28, 2023 · 2 comments
Open

Comments

@ScottAgirs
Copy link

  • Version 1.6.2
  • same code as the Advanced example
  • in Next.js 13.0.4
@danielbgjv
Copy link

I´m getting the same error on goBack(). Also getting childRefs[currentIndex].current.swipe is not a function on swipe( 'left' ) or swipe( 'right' ).

@3DJakob
Copy link
Owner

3DJakob commented Sep 22, 2023

This seams to be a bug when using Next JS specifically. Unfortunately, support for Next JS is not something I have had in mind when creating this module. If anyone manages to find a fix please submit a PR.

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

3 participants