meliorence / meliorence/react-native-snap-carousel

Cannot set borderRadius for in-active items

Open
#897 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is this a bug report, a feature request, or a question?

(Bug)

Have you followed the required steps before opening a bug report?

(Check the step you've followed - put an x character between the square brackets ([]).)

Have you made sure that it wasn't a React Native bug?

(Yes)

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

(Android only)

Is the bug reproductible in a production environment (not a debug one)?

(Yes)

Environment

(Environment:
React: 16.13.1
React native: 0.63.4
react-native-snap-carousel: 3.9.1

Target Platform:
Android (11))

Expected Behavior

(Can style in-active items with "containerCustomStyle" attibute)

Actual Behavior

(I tried containerCustomStyle, slideStyle, the wrapper of the item, the item itself, all don't work, and my item is WebView wrapped in a View. I tried the style and containerStyle of the WebView and nothing works)
image

Reproducible Demo

(Paste the link to a Snack example in which the issue can be reproduced. Please follow the guidelines for providing a Minimal, Complete, and Verifiable example.)

Steps to Reproduce

(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)

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

No source file, test, reproducible demo, or usable reproduction steps is provided. Start by reproducing the Android-only case in react-native-snap-carousel 3.9.1 using the listed styling props; done means inactive items can receive the requested borderRadius styling.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.