callstack / callstack/react-native-paper

iOS app open/close transition shows shadow on SegmentedButtons

Offen
#4,662 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug SegmentedButtons
Vorherrschende Sprache
TypeScript
Sterne
14.5k
Forks
2.2k
Ø Merge
5 T. 23 Std.
Gemergte PRs (30 T.)
12

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.