When a view returns just one item and the wrap mode is set to 'circular', it's possible to move to next and previous items which loads the same slide, this is confusing since if it's just one item the navigation should have no effect the same with auto scroll option.
A possible solution is to change the 'wrap' mode to 'both' when the number of rows is equal to one and the wrap mode is 'circular'. Attached is a patch that does just this that can be helpful as starting point.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | jcarousel_disable_single.patch | 912 bytes | quicksketch |
| #1 | jcarousel-1001740.patch | 1.35 KB | javi-er |
Comments
Comment #1
javi-er commentedComment #2
quicksketchThanks, I've committed this patch with the change that we should disable all wrapping if there is only one item, not only if it's set to "circular".
Comment #3
javi-er commentedMakes more sense :-)