-
Notifications
You must be signed in to change notification settings - Fork 83
Scaled Transitions carousel layout not working with single m-item element #279
Comments
No one who could help me with this issue? Or did I post in the wrong github topic? |
Hey @jwamsterdam you might want to try our updated Scooch module: https://github.com/mobify/scooch It replaces the old Carousel plugin. Most likely, you'll need to re-initialize the carousel after you dynamically change the number of items contained it in. |
Hi @johnboxall thnx for your reply, but even with scooch, I have the same issue. Limiting the m-items to only one instance hides the image..
|
@jwamsterdam can you point me to a public page showing an example? Here is a page with just one item in the carousel: |
Hi @johnboxall , for now, I am unable to post to a webspace, so perhaps you could copy paste the below code to a html doc, and see what I mean. (there are no local files required in the below code). btw. The second issue I have is that although I use m-center, the image is not centered..
|
Removing the m-center class makes the m-item visible again, but I don't think this is the solution ;-) |
I'm using the carousel plugin with the Scaled Transitions layout (https://www.mobify.com/mobifyjs/modules/carousel-examples/), and generate m-item objects dynamically using angularJS.
Whenever I apply filters in angular, to limit the amount of elements (m-items), I noticed that the carousel is not displaying an image when there is only one m-item element.
Is this a bug? Of can it be solved by configuration?
The text was updated successfully, but these errors were encountered: