bulma-carousel
bulma-carousel copied to clipboard
Slide does not update the currentItem.pos
https://github.com/Wikiki/bulma-carousel/blob/033a07476ada12ed986ad407539a1d669f943202/src/js/index.js#L372
This line exists in init - and is the only place that this.currentItem.pos is ever set
this.currentItem.pos = this.currentItem.node ? Array.from(this.items).indexOf(this.currentItem.node)
Surely it should be set during the call to _slide() as well
This is problematic when relying on the documentation's statement that the event emitted contains the relevant item position - the event always returns a position of 0.
Hi,
have you tried the last released ? Events have been updated.