xiel / embla-carousel-wheel-gestures

wheel interactions for Embla Carousel
https://embla-carousel-wheel-gestures.xiel.dev/react.html
MIT License
57 stars 9 forks source link

Add implementation info for Next.js #173

Closed Atif252 closed 2 years ago

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
embla-carousel-wheel-gestures ✅ Ready (Inspect) Visit Preview Sep 15, 2022 at 0:29AM (UTC)
xiel commented 2 years ago

Hi @Atif252

did you encounter errors without the condition? which versions were you using?

Cheers, Felix

Atif252 commented 2 years ago

Hey @xiel

My colleague did encounter a WheelGesturesPlugin is not callable error on Windows while using these versions

embla-carousel-wheel-gestures@3.0.0 next@11.1 nodejs@16

And only adding the window !== undefined check solved it for him. However, I couldn't reproduce this error on my macbook

xiel commented 2 years ago

This is not a very likely platform difference. Sounds like a missing install of dependencies.