Hi,
The index of the selected item is inconsistent in showcase gallery.
CODE:
$w(“#timeLine”).onCurrentItemChanged((event, $w) => {
console.log(“gallery index: " + $w(”#timeLine").currentIndex);
console.log(“dataset index: " + $w(”#datasetTimeLine").getCurrentItemIndex());
This is what I get after selecting an item, then another item, and then the 1st item again:
gallery index: 0
dataset index: 0
gallery index: 4
dataset index: 4
gallery index: 5
dataset index: 5
Any idea?
Many thanks:)
Dafna