We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
onSwitching
I am writing a coverflow component with infinite loop. So I use the onSwitching API combined with the Virtualize HOC, but it got wrong index value.
const VirtualizeSwipeableViews = virtualize(SwipeableViews); <VirtualizeSwipeableViews slideRenderer={() => <div />} onSwitching={(index) => console.log(index)} />
index should increase when swiping to the right
index
index always be between 2 to 4
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I am writing a coverflow component with infinite loop. So I use the
onSwitching
API combined with the Virtualize HOC, but itgot wrong index value.
Expected Behavior
index
should increase when swiping to the rightCurrent Behavior
index
always be between 2 to 4Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: