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

RTL Carousel Bug #11

Closed
morteza opened this issue Jun 27, 2014 · 1 comment
Closed

RTL Carousel Bug #11

morteza opened this issue Jun 27, 2014 · 1 comment
Assignees
Milestone

Comments

@morteza
Copy link
Owner

morteza commented Jun 27, 2014

Details by H. Ghodsifar:

When new slide appears, it enters from the left but the current one doesn't exit from the right side, instead it goes back and exit from the left, and you can see the white background when slides are changing.

@morteza
Copy link
Owner Author

morteza commented Jun 27, 2014

It’s a little tricky. The bug is known for several months. Here is the description of why this issue happens:

To make ease-in-out left transition work in RTL, I’ve forced used CSS transition: 0.6s ease-in-out right. Otherwise (for example the ease-in-out left) it won’t even transit in RTL direction and change the image suddenly. You can check that by changing it to the left (in bootstrap-rtl.css file). It’s something which is already missed in the browsers and the bug has be filed for at least Chrome and Safari.

Possible solutions:

  1. You can override this transition to a more appropriate one from the very long list of transitions in CSS3.
  2. You can always set a background for .carousel-inner class to make its background more beautiful and matching to the rest of the UI/UX.
  3. use owl-carousel library. It seems much more feature-full than embed carousel of bootstrap. You can find it easily over the net. It’s also easy to use.
  4. It has to be some javascript tricks to solve it, but I always tried to get distance from bootstrap's javascripts. I will do it this time for 3.2.0.

Cheers,
Morteza

@morteza morteza self-assigned this Jun 27, 2014
@morteza morteza closed this as completed Jun 28, 2014
@morteza morteza added this to the v3.2.0 milestone Jul 19, 2014
morteza added a commit that referenced this issue Aug 6, 2014
…n touch and moving direction.

- Update bootstrap submodule.
- Update cdnjs proposed dist for 3.2.0-rc4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant