Code Monkey home page Code Monkey logo

bootstrap-touch-carousel's People

Contributors

drmjo avatar gianpaj avatar javierburongarcia avatar romancieslik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bootstrap-touch-carousel's Issues

Carousel controls advance two slides on touch devices.

I want to offer touch device users the possibility to tap to advance the carousel alongside of the swiping and dragging possibilities.
So when I show the hidden carousel-controls it works, but they make the carousel advance or go back two slides i.s.o. one.

Support for D&D on Desktop Browsers?

Hi,

Really like this add-on to the carousel! Works perfect.
Would it not be "easy" to support d&d on desktop browsers?

Cause jquery is definitely there, it is maybe possible to wrap your touchevents in $carousel.on('mousedown', touchstart); $carousel.on('mousemove', touchmove); $carousel.on('mouseup', touchend);

I did not look at your code right now and surely the events you get back are slightly different, but it would also be really nice feature :)

Thanks in advance for an reply
Chris

Indicators position changing

moved issue from @playaz to right repo

Great tool but when I add this, for some reason our original indicators dissapear. I have tried copying over our css for indicators position to your css but indicator is only on correct position until first slide moves, then it dissapears

Any suggestions or is this not working?

Can't swipe away from a video if one is included in the carousel.

Great solution on the touch carousel, it works quite brilliantly. However, if you include a video in the carousel, once you swipe to it, you can't swipe away.

It's in the carousel as a bootstrap responsive embed iframe.

I haven't been able to get a solution to where you can still swipe away, but also play the video.

Any suggestions/ideas, or do you have something coming down the pipeline?

Feature suggestion: enable swipe only on touch-aware devices

Hi, awesome drop-in plugin! I think you can resolve some of the issues in an easy way by using media queries to add "touch-carousel" class only on mobile devices, or by trying to detect whether the device has touch events.

This way, the desktop carousel will continue to wrap and display the next/previous arrows (where they make sense), and on the mobile device you can hide all unnecessary controls and enable swiping for elements with the "touch-carousel" class.

Any chance of SASS Support?

I would like to import Bootstrap followed by Bootstrap Touch Carousel into my SASS file and then override some styles. With SASS being so popular, is there any chance of a .scss file. Even just a copy of the .css file renamed to .scss would work fine.

Reload with turbolinks in rails.

I'm using rails 4 with turbo links and bootstrap 3.

I've got the touch carousel to work great, problem is that when using turbolinks it just uses a js to replace the body so you're not constantly reloading css and js for everypage.

The issue it creates is that in order for it to work on the next page after clicking the link to open the page, it uses the default bootstrap carousel buttons, until you press the 'next' button then touch carousel kicks in. I'd rather have a method to reload the script. Here's an example of how I can load other scripts with tubrolinks.

var ready;

ready = function() {
return $(document).on('click', '.edit_task input[type=checkbox]', function() {
return $(this).parent('form').submit();
});
};

$(document).ready(ready);

$(document).on('page:load', ready);

Difficult to swipe

Is it just me or is it really difficult to change slides? It seems you have to very particular in your swiping motion and timing. Immediately after completing a swipe you have to wait a second or so before going again, and you need to make sure you slide about 80% of the screen. I'm on a Nexus 5, anyone else experiencing this?

Carousel with requirejs. Hammer is not defined

Uncaught TypeError: undefined is not a function bootstrap-touch-carousel.js:11
g._regTouchGestures bootstrap-touch-carousel.js:11
g bootstrap-touch-carousel.js:11
(anonymous function) bootstrap-touch-carousel.js:11
m.extend.each jquery.1.11.1.js:2
m.fn.m.each jquery.1.11.1.js:2
a.fn.carousel bootstrap-touch-carousel.js:11

I'm using requirejs and it looks like hammer is not injected

Pause on hover

Hello, please implement a "pause on hover" feature like on the standard Bootstrap carousel.

Scrolling vertically on page stops when getting to carousel

Once you get down to the carousel on the page, left and right scrolls through the items, but vertical swipes do nothing, where they should be able to continue to allow the user to scroll. Elastislide (although completely different), had this same issue. Is this something coming from hammer or bootstrap itself?

layout of carousel staying the same on orientation change

I have tried this on a smartphone and a touchscreen laptop.

For example, the JS script (I tried it without the touchcarousel script and it worked fine) is setting styles on carousel item divs (example: style="width: 1140px;") which I didn't have before. That results in the items arranging oddly when I change phone orientation or resize the browser.

If I try to remove the inline styles all the items come up right next to each other without scrolling.

Is this a problem with the touch script, js, or just might be a bug in my code?

P.S. my carousel constantly adapts it's width to a bootstrap container.

Disable when with only 1 slide

In my case, in the circumstances it is possible that BS carousel is used but only the 1 slide provided.

It seems like "bootstrap-touch-carousel" will still allow some dragging movement when there is only the 1 slide.

Is it possible that "bootstrap-touch-carousel" does not run in this situation?

Please allow swiping across child divs

Right now you cannot swipe over the indicators and next/previous arrows (for those who choose to display the arrows on mobile). At first I thought swipe wasn't working, but I realized I was swiping on top of the carousel-indicators div. Please enable swipe across the carousel-indicators and carousel-control divs as well to make swiping more reliable.

bug: small carousel inside hidden modal after shown

I have create a carousel inside modal popup which will display when I click on a button.

First time that I click on a button to show the modal, the carousal inside modal is very small.

screenshot_2014-06-11-11-13-04

Then I need to rotate my device to landscape then portrait to make it works like it should.

screenshot_2014-06-11-11-13-09
screenshot_2014-06-11-11-13-13

I have tried it on Bootstrap 3 with my mobile phone Nexus5. The plugin can't determine the size of modal because it hidden?? Could you please guide or fix?

Thanks in advanced

Bug: Touch-ability only starts on prev/next button click

On the demo page slider buttons disappear after a short moment. But that's not happening for me. Although it starts after clicking once on next or prev buttons.
Is there a function to call to force-start touch UI (with no next/prev buttons)? If not, please add it.

I did try with $('.left').click(); with no luck.

'Link in Carousel' issue

I have links inside the bootstrap carousel panels and these can be clicked through on all devices I've tried except for Kindle when using bootstrap-touch-carousel.

I can confirm this by removing the script and the links will then work.

The links show that they have been pressed but nothing happens. However, if you hold the link button then the pop up will show the link navigation options, eg. open in new tab etc.

Otherwise a fine script!

Links not working

Nexus 4;

The links for carousel images do not work- tags enclosed in - tapping to activate the link does nothing.

Remove touch carousel implementation from carousel

Scenario:
I have added bootstrap-touch-carousel library on page. page is having multiple bootstrap carousel. So its applying touch implementation on both. I would like to apply touch carousel only on one carousel. Please guide how do I remove touch carousel implementation from other carousel.

Captions not appearing

Captions appear to be hidden by default when using this plug-in? Captions work fine in desktop, but not on mobile.

Image not responsive on auto rotate

Halo,
I have an issue with your carousel on mobile if use auto rotation, image not responsive and looks broken.
Have a solution with this?

Auto Scroll with Touch Issue

When auto scroll is enabled the carousel jumps slides with a touch action. Any thoughts on how to resolve this? Should I disable auto scroll on a touch event or update the scroll index?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.