callstack / callstack/react-native-paper

Checkbox.Item: Make the underlying TouchableRipple more configurable

Offen
#4,590 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Checkbox feature request TouchableRipple
Vorherrschende Sprache
TypeScript
Sterne
14.5k
Forks
2.2k
Ø Merge
5 T. 23 Std.
Gemergte PRs (30 T.)
12

Beschreibung

**Is your feature request related to a problem? Please describe.**
I've applied border radius to Checkbox.Item, and it seems to work as expected. However, when the item is `pressedIn`, the underlying touchable ripple doesn't respect the item's border radius.

**Describe the solution you'd like**
Expose an API to tweak the TouchableRipple through rippleStyle or containerStyle.

**Describe alternatives you've considered**
I've considered not using the Checkbox.Item and manually implementing the component with desired level of configuration. But it's a much bigger lift.

**Additional context**

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.