callstack / callstack/react-native-slider

feat(android): add disableAndroidRipple prop to remove SeekBar ripple

オープン
#731 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature request
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。