Closed fcasibu closed 11 months ago
@fcasibu thank you very much for your effort! Have you tried the changes to see if it solves the problem?
Best, David
Hey @davidjerleke I've tested it on the playground for react and it does indeed solve the problem. Thanks 🙇
@fcasibu thank you for your swift response. Nice work and welcome to the contributors club 🎉!
Seems like it broke a lot of tests regarding intersectionObserver
should've added disconnect
on the mock, sorry about that @davidjerleke
@fcasibu no worries. It's just a minor thing. I can fix it. Thanks for informing me though 👍.
@fcasibu done 🙂.
@fcasibu I've released v8.0.0-rc15
which includes this PR.
Hello first time trying out this package and I love everything about it but there's just one thing that's causing me some issues regarding the
slidesInView
event. I've created this Sandbox to demonstrate the issue.To reproduce:
I've added
engine.slidesInView.destroy()
in thedeactivate
function to fix the issue inembla-carousel
package.We can also listen to the
reinit
event to destroy the event but I feel like this shouldn't be done on the end user but on the package's side.