onIndexChanged it should give me on every swipe one index but when I am swiping slide for first swipe 0 , second swipe 1 , for third swipe 1
Actual behaviour
onIndexChanged it should give me on every swipe one index but when I am swiping slide for first swipe 0 , second swipe nothing returning , for third swipe it returning 2 and goes on
due to this my logic working like this first video will playing 2nd video flicker and previous slide showing
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
renderSwiperContent = () => {
console.log("current index on parent ",this.state.replayIndex)
return (
Which OS ?
ios 16
Version
Which versions are you using:
Expected behaviour
onIndexChanged it should give me on every swipe one index but when I am swiping slide for first swipe 0 , second swipe 1 , for third swipe 1
Actual behaviour
onIndexChanged it should give me on every swipe one index but when I am swiping slide for first swipe 0 , second swipe nothing returning , for third swipe it returning 2 and goes on due to this my logic working like this first video will playing 2nd video flicker and previous slide showing
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
renderSwiperContent = () => { console.log("current index on parent ",this.state.replayIndex) return (
};
initial replayIndex = 0
Steps to reproduce
1. 2. 3.