Skip to content
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

请问:为什么用react-native-viewpager做图片轮播看不清轮播的到哪张图片的点? #161

Open
marcos-boy opened this issue Aug 3, 2017 · 2 comments

Comments

@marcos-boy
Copy link

x eq dwc mx0z ky x0 p

@alamide0
Copy link

alamide0 commented Aug 3, 2017

get source code (DefaultViewPageIndicator.js),
and modify
curDot: {
position: 'absolute',
width: DOT_SIZE,
height: DOT_SIZE,
borderRadius: DOT_SIZE / 2,
backgroundColor: '#80ACD0',
margin: DOT_SAPCE,
bottom: 0,
},
curDot: {
position: 'absolute',
width: DOT_SIZE,
height: DOT_SIZE,
borderRadius: DOT_SIZE / 2,
backgroundColor: '#80ACD0',
margin: DOT_SAPCE,
//bottom: 0, ////////////////////////////////////remove this line
},
I remove this 'bottom: 0', and then the current dot show correctly

raynor85 added a commit to raynor85/react-native-viewpager that referenced this issue Oct 12, 2017
@onlybenyang
Copy link

I think that we should replace the magin with marginLeft and marginRight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants