callstack / callstack/react-native-paper

Checkbox.Item: Make the underlying TouchableRipple more configurable

Đang mở
#4,590 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Checkbox feature request TouchableRipple
Ngôn ngữ chính
TypeScript
Star
14.5k
Fork
2.2k
Merge trung bình
5 ngày 23 giờ
Pull request đã merge (30 ngày)
12

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.