-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getCurrentActiveItem is always the first item #15
Comments
Did you manage to work around this @aequasi ? |
I did not |
@aequasi Hi and sorry for the delay! |
Hi! I'm experiencing a similar problem, even though i use it according to your instruction: useListenToCustomEvent((event) => {
if (event.eventName === "onSlideChange") {
let newIndex = event;
console.log(util.inspect(newIndex, false, null))
}
}); Each time i slide through carousel, I get this kind of console.log: { eventName: 'onSlideChange',
slideActionType: 'next',
currentItem: { index: -1, id: '' } }
|
Never seems to change.
The text was updated successfully, but these errors were encountered: