leecade / leecade/react-native-swiper
it does not autoplay and pagination dot does not work when scrolling pages in ios
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Which OS ?
ios 11.2.5
Version
Which versions are you using:
- react-native-swiper v? 1.5.13
- react-native v0.?.? 0.47.2
Expected behaviour
it does work well in ios and android
Actual behaviour
it does work well in android but it does not work well in ios
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.
Steps to reproduce
1.i setup swiper like this:
<Swiper paginationStyle={{bottom: ScreenUtil.scaleSize(10)}}
autoplay={true}
activeDotColor={'white'}
autoplayTimeout={3}>
{this.renderBannerView()}
2.i set 3 in this.renerBannerView() function
3.when i use <Image source={require('local image path')}>, swiper works well in ios and android. but when i use <Image source={{uri : 'some web image url'}}>, swiper can not autopaly and pagination dot do not work when scrolling pages in ios, the active dot always stay at the first index, however swiper works well in android any way, i need help
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Swiper usage described in the issue and the examples folder, using iOS 11.2.5, react-native-swiper 1.5.13, and React Native 0.47.2. Reproduce the setup with three remote images in renderBannerView(), then compare it with local images. Done means autoplay works and the pagination dot follows scrolling on iOS as it does on Android.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100