Closed mikeyamato closed 5 years ago
Okay, so I'm an idiot. I had a 2nd pair of eyes look at my code and I was making things way too complicated. After removing part of the complexity everything was functioning properly. Basically I removed setState
and passed activePageIndex
directly.
Hey @mikeyamato glad you got this figured out. Sorry I was late to respond, I took off for the holidays.
Similar to issue #5 , my
activePageIndex
is not propagating with the proper index. It's always an index behind. If I swipe to index 1,activePageIndex
would state index 0. My swipe action is horizontal.Animated gif to this issue can be found here (takes you to Imgur). My example has a length of 3 items.