-
Notifications
You must be signed in to change notification settings - Fork 51
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: Carousel inside a modal #21
Comments
@thecodingwhale i don't know how to reproduce this behaviour? |
is this issue still relevant? |
Hello, It works well with the data-ride attribute. BTW, thank you for your awesome plugin 👍 |
hey @pierrefaure, appreciate your feedback! |
Hi, |
@thecodingwhale any way to describe how other people could reproduce this bug? |
@ixisio those things happened with I try to put the carousel inside a modal. I need to trigger first the next or previous event before the touch event work. |
@thecodingwhale the DOM of the carousel is not rendered initially, so IMO the onDocumentReady event of the carousel fires but no carousel slides are in the current document. Are you generate the Modal with javascript on the fly? |
Oh so that is why I need to click it first before it take effect? No, its a plain html only. |
@thecodingwhale have a demo link for me? |
The "First-Click-Problem" occurs only (in my case) if the carousel isn´t initialized via JavaScript but rather via Data-Attributes. If I initialize the carousel via js, everything works find. But thats not the solution, in my document i need the config via data-attributes (also the data-ride-Attr.) - and this is redundant... |
@shica77 I will carry on. Thanks for your findings! |
I need to click first the next or previous button in order the touch event to work,
The text was updated successfully, but these errors were encountered: