-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Make Carousel swipe-able #2468
Comments
try swipejs.com |
While i think adding swipe support is awesome, don't think it should be bake into the core of the plugin. Definitely something which should live in a mobile extension. :) |
Bummer. I disagree since touch devices are in everyone's pockets and are coming to most screens near you. The amount of touch code is small but adds usable functionality which people will soon expect from modules like sliders etc. I thought that Bootstrap was built for both today and the future. |
The reason is that swipe is an enhancement (a cool one, but still an enhancement). If carousel didn't work at all, it would be a different story. |
OK I understand. It's your ship and you are the captain. And it's a rockin good ship by the way - thank you. I like Chris' touch carousel addition and would love it as a mobile extension. I also bet you a delicious beverage of your choice that within 9 months you will be adding touch events into the core. |
well if @pamelafox keeps up the crossfit she might just bully me into it :) |
Understood. :D |
It's a shame this is closed. It would be nice to have this by default. Instead I am looking at having to roll my own with swipe.js or something else. The pull request looks like a really nice addition. |
With the move to Bootstrap 3 and the mobile-first approach, perhaps this is no longer an enhancement, but something that should be baked into the carousel core. |
+1 |
1 similar comment
+1 |
How about having it as an option? |
For those wanting an interim fix, the following tutorial (not mine) provides an easy workaround: |
+1 this is not just needed for mobile, it's for all touch enabled devices, including tablets, and future hybrids like microsoft surface |
+1 |
1 similar comment
+1 |
The JQMobile solution doesn't work on my iPhone with current WIP Bootstrap 3 !? $(window).load(function(){
$("#myCarousel").touchwipe({
wipeLeft: function() { $("#myCarousel").carousel('next'); },
wipeRight: function() { $("#myCarousel").carousel('prev'); }
});
}); |
@kieste look nice did you give it a shot on android or windows mobile? |
Tested on Galaxy S II with Chrome. Works like a charm. |
+1 |
+1 for adding to the core. |
+1 |
1 similar comment
+1 |
drop in replacement for twbs carousel to enable gestures on touch devices: have fun, |
i have searched lot but i can not find solution for my website http://www.awaak.com/ , is there any fixation for carousel without including any extra css or js files, |
Please refer to StackOverflow for additional discussion, as there's nothing to do here on Bootstrap's side. |
Is this a good idea or no?
Or, is there a good library out there that would fill this need?
The text was updated successfully, but these errors were encountered: