There is a bug in jquery.scrollable.
In line 126, you calculate the left-property of the items-container using
This will only work if you have items of the same width (height). In my case, the scrolling elements vary in width.
Instead, you should use the left position of the item to scroll to, that fixed it for me:
Best wishes,
Reiner
In line 126, you calculate the left-property of the items-container using
var left = -(item.outerWidth(true) * i);
This will only work if you have items of the same width (height). In my case, the scrolling elements vary in width.
Instead, you should use the left position of the item to scroll to, that fixed it for me:
var left = -(item.position().left);
Best wishes,
Reiner