callstack / callstack/react-native-paper

Checkbox.Item: Make the underlying TouchableRipple more configurable

Aperta
#4,590 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Checkbox feature request TouchableRipple
Lingua principale
TypeScript
Stelle
14.5k
Fork
2.2k
Merge medio
5g 23h
PR unite (30g)
12

Descrizione

**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**

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.