Open marcos-boy opened 7 years ago
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
I think that we should replace the magin with marginLeft and marginRight.