I am trying to create a circular wrap without duplicate items but if the particular carousel does't have enough items to fill the area it will create a duplicate item.

Right now it is set to Circular, I've tried other wrapping styles but it would be nice if Circular wouldn't scroll if there isn't enough items.

Any insights? I've tried Googleing this but haven't had any luck.

Comments

jackniu’s picture

Subscribed!

jackniu’s picture

I encountered the same problem,but still have not solved! Anyone has good idea,please share it with us! Thank you!

jackniu’s picture

Issue summary: View changes

Adding clearification

rbrownell’s picture

Issue summary: View changes

corrected wording....

olarin’s picture

Version: 7.x-2.6 » 7.x-2.x-dev
Component: Miscellaneous » Code
Issue summary: View changes
StatusFileSize
new1.43 KB

This behaviour is not specific to the Drupal module, it's built into the jCarousel library. However, I agree it's undesirable, and we can get around it in module-space. Here's a first stab patch at doing just that. I'm making the change in the reloadCallback in addition to the setupCallback so that the wrapping turns on and off appropriately with responsive resizing. Works for my specific situation but I haven't tested all use cases yet to make sure I didn't break something inadvertently.

olarin’s picture

Status: Active » Needs review