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

The Swipe not working when dealing with RTL #6

Closed
maenabbasi opened this issue Aug 2, 2017 · 4 comments
Closed

The Swipe not working when dealing with RTL #6

maenabbasi opened this issue Aug 2, 2017 · 4 comments

Comments

@maenabbasi
Copy link

$('.jcarousel')
.jcarousel({
// Options go here
horizontalDirection:'rtl'
,rtl:true
}).jcarouselSwipe();
when trying this, it is not working and the content disappear

@maenabbasi maenabbasi changed the title The Swipe not working when dealing with LTR The Swipe not working when dealing with RTL Aug 2, 2017
@snake-345
Copy link
Owner

Can you try set rtl to jcarousel without jcarouselSwipe plugin. I think problem in jcarousel.

@maenabbasi
Copy link
Author

maenabbasi commented Aug 11, 2017

(function($) {
    $(function() {
        /*
        Carousel initialization
        */
        $('.jcarousel')
            .jcarousel({
                // Options go here
				horizontalDirection:'rtl'
				,rtl:true
            }).jcarouselSwipe();
		$('.jcarousel').jcarouselSwipe({
			draggable: false ,
		});
        
    });
})(jQuery);

Apply the code above, it works now but when I swipe right it scroll to opposite left
https://jsfiddle.net/t3nbp292/

@snake-345
Copy link
Owner

Ok. I see. I will fix this. Thanks for the issue and example)

@snake-345
Copy link
Owner

Hi. Sorry for waiting. I fixed this issue. You can check it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants