react-scroll icon indicating copy to clipboard operation
react-scroll copied to clipboard

react scroll show this error on use.

Open anubhav210 opened this issue 7 years ago • 4 comments

TypeError: Cannot read property 'spyCallbacks' of undefined capture

anubhav210 avatar Sep 29 '18 13:09 anubhav210

I had a similar issue. I think you need to move from the deprecated feature to the new implementation.

sunsheeppoplar avatar Oct 02 '18 04:10 sunsheeppoplar

sorry @sunsheeppoplar i am not understanding that. Please guide me how to fix this issue if you know.

Thanks

anubhav210 avatar Oct 02 '18 07:10 anubhav210

I don't know how you're implementing it exactly, but here's the diff of what I had before and what I did to convert to the new usage of the ScrollLink module:

https://github.com/sunsheeppoplar/tav-murphy-portfolio/commit/93e230253c731bcc5d9d146e937116af73fddb87

Here's the documentation that I was referencing from react-scroll itself:

https://github.com/fisshy/react-scroll#create-your-own-linkelement

sunsheeppoplar avatar Oct 02 '18 19:10 sunsheeppoplar

I have the same issue when i'm adding containerId to the Link. This is the thread related: https://github.com/fisshy/react-scroll/issues/445

muscaiu avatar Oct 31 '20 14:10 muscaiu