-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
autoPlay does not work #493
Comments
@DevaLee i had the same issues too with react-native version 0.46.0, maybe your scenario is same with mine #467 , i fixed my issues after i updated react-native version to 0.47.0 take a look on here facebook/react-native#9436 |
Is the bug persist on RN 0.47 and RN Swiper 1.5.9? |
@arribbar im using 0.47.0 right now, everything work fine after i upgraded |
If you still Have a Problem try On the Swiper eg: |
import React,{PureComponent} from 'react';
import {View, Text,StyleSheet,Image,TouchableOpacity} from 'react-native';
import Swiper from 'react-native-swiper'
import px2dp , {Screen} from '../../Utils/px2dp'
class xxxxx extends PureComponent {
}
const styles = StyleSheet.create({
wrapper : {
borderWidth : px2dp(0.5),
borderColor : '#e0e0e0',
});
export default xxxxxx
{
"name": "xxxx",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"es6-symbol": "^3.1.1",
"react": "16.0.0-alpha.12",
"react-native": "0.46.4",
"react-native-fetch-blob": "^0.10.8",
"react-native-img-cache": "^1.4.0",
"react-native-root-toast": "^1.1.2",
"react-native-scrollable-tab-view": "^0.6.7",
"react-native-swiper": "^1.5.7",
"react-native-tab-navigator": "^0.3.3",
"react-native-vector-icons": "^4.3.0",
"react-navigation": "^1.0.0-beta.11"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.1.0",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
}
I use swiper to display 4 image in iOS,i am setting autoplay = {ture} and autoplayTimeout = {2.5} ,but it does do once,it can't autoplay,i have no idea about it ,help me
The text was updated successfully, but these errors were encountered: