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
windows
Which versions are you using:
The real last swiper should be keep
The real penultimate swiper was kept.
I read the source code and I think it's on line 836 should be 'loop && i === total ' instead ‘loop && i === total - 1’.
<Swiper loadMinimal={true} loop={true}> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> </Swiper>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which OS ?
windows
Version
Which versions are you using:
Expected behaviour
The real last swiper should be keep
Actual behaviour
The real penultimate swiper was kept.
I read the source code and I think it's on line 836 should be 'loop && i === total ' instead ‘loop && i === total - 1’.
How to reproduce it>
<Swiper loadMinimal={true} loop={true}> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> <Image style={DetailStyle.image} resizeMode='contain' source={require('@/static/defaultAvator.jpeg')} /> </Swiper>
The text was updated successfully, but these errors were encountered: