meliorence / meliorence/react-native-snap-carousel

inactiveDotStyle doesnt load the style

Open
#468 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contribution?
Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Bug report

<Pagination
dotsLength={ENTRIES1.length}
activeDotIndex={this.state.slider1ActiveSlide}
containerStyle={styles.paginationContainer}
dotColor={"#7DC334"}
dotStyle={{ width: 8, height: 8, borderRadius: 4 }}
inactiveDotColor={"#C3EFAD"}
inactiveDotStyle={{ width: 8, height: 8, borderRadius: 4 }}
carouselRef={this._slider1Ref}
tappableDots={!!this._slider1Ref}
/>

inactiveDotStyle does not work properly. See the result:

image

Environment:
React: 16.0.0-beta.5
React native: 0.49.2
react-native-snap-carousel: 3.3.4

Target Platform:
Android (6.0)
iOS (10.3)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Pagination usage shown in the report and trace how inactiveDotStyle is handled in react-native-snap-carousel. Reproduce the example on Android or iOS, then verify that the inactive dots use the supplied width, height, and borderRadius while retaining inactiveDotColor.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.