callstack / callstack/react-native-paper

iOS app open/close transition shows shadow on SegmentedButtons

Abierto
#4,662 3 comentarios 0 reacciones 0 asignados Ver en GitHub
bug SegmentedButtons
Lenguaje dominante
TypeScript
Estrellas
14.5k
Forks
2.2k
Merge medio
5 d 23 h
PR fusionados (30 d)
12

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con la implementación de SegmentedButtons y reproduce la transición en iOS 16.0 usando el ejemplo vanilla segmented-button del issue. El trabajo está terminado cuando, al abrir o cerrar la app, ya no se muestra ningún degradado ni sombra dentro de un segmento.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
ios, react-native, typescript
Área
frontend, mobile
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.