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: Touch-ability only starts on prev/next button click #34

Open
grijos opened this issue Sep 11, 2014 · 9 comments
Open

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

grijos opened this issue Sep 11, 2014 · 9 comments

Comments

@grijos
Copy link

grijos commented Sep 11, 2014

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.

@grijos grijos changed the title Bug: Touch-ability only starts on prev or next button click Bug: Touch-ability only starts on prev/next button click Sep 11, 2014
@ixisio
Copy link
Owner

ixisio commented Oct 2, 2014

he @grijos,

Nope, there is no function to push force the UI. It gets immediately invoked.
Could you please add some information about you environment.

Running Browser:
Browser Version:
OS:

That would be helpful!
Thanks.

@ville6000
Copy link

I have the same problem with Android 4.2.2 and Chrome 38.0.2125.102

@grijos
Copy link
Author

grijos commented Oct 21, 2014

Hi @ixisio,
I'm running Chrome 38.0.2125.104 / on OS X Yosemite 10.10.
Thanks

@skirtley
Copy link

skirtley commented Nov 5, 2014

I was also having this issue, calling the code below in a document.ready function resolved it and activate the touch-ability before a click.

$('.carousel').carousel()

@jamesrskinner
Copy link

I'm having the same problem. If I run $('.carousel').carousel() I get the touch interface but even on devices that don't have touch which is not what I want...

@semaf
Copy link

semaf commented Jan 4, 2015

Somehow the classes will not be added on mobile sizes. Desktop size does not matter but on mobile is it required. I could not fix it too :(

If you touch the indicator than the classes are added

@luiz-brandao
Copy link

I was having the same problem. In my case I was generating the carousel dynamically so I had to call $('.carousel').carousel(); after the DOM nodes were ready so the events could be properly attached. Keep it in mind!

@nicomollet
Copy link

I have been able to reproduce the problem.

It works on BS 3.0.0 (version used in the demo) but it doesn't work with BS 3.3.4 (last version atm).

Forcing this script : $('.carousel').carousel(); after loading, made it work on 3.3.4.

@ixisio
Copy link
Owner

ixisio commented May 29, 2015

@nicomollet Thanks Sir for testing the frwk w/ the current version of Bootstrap. Can you make a PR with your fix for 3.3.x?

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

8 participants