callstack / callstack/react-native-paper
Checkbox.Item: Make the underlying TouchableRipple more configurable
- 主要言語
- TypeScript
- スター
- 14.5k
- フォーク
- 2.2k
- 平均マージ
- 5日 23時間
- マージ済み PR(30日)
- 12
説明
**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**
コントリビューションガイド
調査の方向性
Start at Checkbox.Item and inspect how it creates and configures the underlying TouchableRipple. Define the requested rippleStyle or containerStyle API so the item's border radius is respected while pressed, then verify the behavior with the relevant component tests or examples if available.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react-native, typescript
- 領域
- frontend, mobile
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100