How to reproduce:
Create a view page with 40 items, 5 items displayed.
On this view, on the jCarousel settings, set Number of visible items to 1
Go to the view page and start clicking on 'next'
Outcome
After the 6th ajax request, the jCarousel starts scrolling weird. The user can see many items being scrolled before stopping on the correct item.
In addition, on the 37th item, it does an ajax request, but it does not scroll. Pressing 'next' one more time it does another ajax request an scroll, but ending on the half of the 38th item and disabling the 'next' button
Possible causes
I realize that on the time someone visits the view page, there are 5 items preloaded (as the view is set to a number of specific 5 items, it is correct), but every ajax request has "first" set to an item ALREADY loaded on the immediate earlier request, for example:
request 1:
http://ajax.home.lan/jcarousel/ajax/views?js=1&first=5&last=9&view_args=&view_path=jcarjax&view_base_path=jcarjax&view_display_id=page&view_name=jcarjax&jcarousel_dom_id=1
request 2:
http://ajax.home.lan/jcarousel/ajax/views?js=1&first=9&last=13&view_args=&view_path=jcarjax&view_base_path=jcarjax&view_display_id=page&view_name=jcarjax&jcarousel_dom_id=1
Note that on request-1, last=9; and on the request-2, first=9
Why requesting this item again?
Comments
Comment #1
pal_ur commentedSame problem, but not after 5, but after the first left or right scroll starts scrolling be weird.
Comment #2
alvarodemendoza commentedAfter 4 hours i solved my problem. Had some issue that #1. The way is to disable the cache from that view/block.