xiel / embla-carousel-wheel-gestures

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

"rtl" direction doesn't work with the images when given loading lazy property #192

Closed OmarShref closed 7 months ago

OmarShref commented 7 months ago

"rtl" direction doesn't work with the images when given loading lazy property because the carousel doesn't consider the image entered the view port from the right direction but from the left direction

davidjerleke commented 7 months ago

@OmarShref you didn’t share much details about your setup but if you’re using v8.0.0-rc01 and up it’s unlikely that it’s behaving the way you describe. This is because Embla is using IntersectionObserver under the hood which is a native browser API.

Best, David

davidjerleke commented 7 months ago

Tracked here:

Closing this.