react-tinder-card icon indicating copy to clipboard operation
react-tinder-card copied to clipboard

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

Open ScottAgirs opened this issue 1 year ago • 2 comments

  • Version 1.6.2
  • same code as the Advanced example
  • in Next.js 13.0.4

ScottAgirs avatar Feb 28 '23 06:02 ScottAgirs

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

danielbgjv avatar Mar 23 '23 00:03 danielbgjv

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.

3DJakob avatar Sep 22 '23 07:09 3DJakob