You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
I solved the issue like this, you need to render the Slick when you get results, I suppose that that way the Slick will know how many items you have. @keung7252
Which OS ? Iphone
Version
Which versions are you using:
Expected behaviour
active dot must change when I change the page
Actual behaviour
active dot keep in first
<Slick height={'100%'} showsPagination={true} loop={true} activeDotStyle={{backgroundColor: '#000000', width: 13, height: 13, borderRadius: 13/2, overflow: 'hidden'}} dot={ <View style={{backgroundColor: '#bfbfbf', width: 13, height: 13, borderRadius: 13/2, overflow: 'hidden', marginLeft: 5, marginRight: 5}} /> } paginationStyle={{ top: -500, }} showsButtons={false}> { this.state.news.map((item)=> { return ( <View style={{width: '100%', height: '100%', alignItems: 'center', justifyContent: 'center'}}> <Image source={{uri: item.img_en}} style={{ width: 371, height: 576}} resizeMode={'contain'} /> </View> ) }) } </Slick>
The text was updated successfully, but these errors were encountered: