Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Fade plugin: setting direction: 'rtl' when using fade plugin breaks the fading effect #1103

Open
4 of 15 tasks
vettloffah opened this issue Jan 10, 2025 · 3 comments
Open
4 of 15 tasks
Assignees
Labels
bug Something isn't working plugin Issue is related to plugins

Comments

@vettloffah
Copy link

Which variants of Embla Carousel are you using?

  • embla-carousel (Core)
  • embla-carousel-react
  • embla-carousel-vue
  • embla-carousel-svelte
  • embla-carousel-autoplay
  • embla-carousel-auto-scroll
  • embla-carousel-solid
  • embla-carousel-auto-height
  • embla-carousel-class-names
  • embla-carousel-fade
  • embla-carousel-docs (Documentation)
  • embla-carousel-docs (Generator)

Steps to reproduce

The bug occurs when I set the direction option to 'rtl' in the embla options when using the fade plugin. After setting 'rtl' direction, only he first image fades in / out, the other images never display.

Here is a loom showing the issue:
Loom Video

Expected Behavior

Fade plugin should function normally

Additional Context

I have also tried...

What browsers are you seeing the problem on?

No response

Version

v8.5.2

CodeSandbox

No response

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
  • I agree to follow this project's Contributing Guidelines for bug reports
@vettloffah vettloffah added the bug Something isn't working label Jan 10, 2025
@davidjerleke
Copy link
Owner

@vettloffah did you set the HTML content direction to dir=“rtl” too? See the note in the docs.

@vettloffah
Copy link
Author

No I did not! That's probably the issue, will try later. Thank you

@davidjerleke davidjerleke added the plugin Issue is related to plugins label Jan 12, 2025
@davidjerleke
Copy link
Owner

@vettloffah how did it go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin Issue is related to plugins
Projects
None yet
Development

No branches or pull requests

2 participants