callstack / callstack/react-native-slider
feat(android): add disableAndroidRipple prop to remove SeekBar ripple
- 主要言語
- TypeScript
- スター
- 1.4k
- フォーク
- 295
- 平均マージ
- 5分
- マージ済み PR(30日)
- 1
説明
## Problem
On Android the slider uses the native SeekBar which draws a platform ripple around the thumb when pressed. There is currently no supported way to disable or customize this ripple from JS. That prevents apps from implementing custom thumb overlays or matching certain visual designs without editing native code or changing app themes.
## Proposal
Add an opt-in boolean prop `disableAndroidRipple` (default: false) on Android that removes background/foreground ripple/state animator on the native SeekBar. This should be non-breaking (opt-in) and implemented defensively for OEM quirks / API levels.
## Example usage
```jsx
コントリビューションガイド
調査の方向性
まず、Slider の Android ネイティブな SeekBar のエントリポイントと、既存の JS prop 定義を特定します。Android API レベルごとに、背景、フォアグラウンドの ripple、state animator の動作がどのように異なるかを確認し、新しい prop のデフォルト値が false であり、有効にしたときに ripple を無効化し、それ以外の場合は既存の動作を維持することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, react-native
- 領域
- mobile-dev
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100