callstack / callstack/react-native-paper

iOS app open/close transition shows shadow on SegmentedButtons

オープン
#4,662 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug SegmentedButtons
主要言語
TypeScript
スター
14.5k
フォーク
2.2k
平均マージ
5日 23時間
マージ済み PR(30日)
12

説明

### Current behaviour
I am rendering a Segmented Button (basic, vanilla implementation)
When I open or close the iOS app, I see a gradient within one of the segments.

### Expected behaviour
No gradient.

### How to reproduce?
Use iOS
Add a segmented button to your view.
Close or open the iOS app to show the gradient.

### Preview
Implementation:
``

Screenshot:
![Image](https://github.com/user-attachments/assets/5f424282-68bd-4f18-8a6f-0257be7122d4)

### What have you tried so far?
Explicitly setting a background color with
`style={[styles.group, { backgroundColor: theme.colors.background }]}`

### Your Environment

| software | version
| --------------------- | -------
| ios | 16.0
| react-native | 0.76.3
| react-native-paper | ^5.12.5

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with the SegmentedButtons implementation and reproduce the transition on iOS 16.0 using the vanilla segmented-button example from the issue. Done means opening or closing the app no longer displays a gradient or shadow within a segment.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
ios, react-native, typescript
領域
frontend, mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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