Dialog: ScrollView Inside Does Not Scroll on Android
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- react-native, typescript
- Área
- mobile
Línea de trabajo
Comienza reproduciendo el fragmento proporcionado de Dialog y ScrollView en Android con React Native 0.77.3 y React Native UI Lib 8.3.2; después, compara el mismo caso en iOS. Rastrea el comportamiento de la componente Dialog en Android y verifica que el contenido dentro de ella pueda desplazarse cuando el fix esté completo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
On Android, the Dialog component doesn’t scroll when it contains a ScrollView inside.
Related to
- Components
- Demo
- Docs
- Typings
Steps to reproduce
Steps to reproduce the behavior:
- Inside the Dialog, place a ScrollView.
Expected behavior
I expected it to scroll same behaviour as in iOS able to scroll
https://github.com/user-attachments/assets/b73c57ec-2850-43c7-aed2-ec1fa7c1e6b5
Actual behavior
Unable to scroll inside the dialog
More Info
Code snippet
<Dialog
visible={showDialog}
width="90%"
height="50%"
center
onDismiss={() => this.setState({ showDialog: false })}
>
<View style={[globalStyle.popOutMainContainer, { flex: 1 }]}>
<View style={[globalStyle.popOutHeader, globalStyle.titleBar]}>
<View style={{ width: "90%" }}>
<Text style={[globalStyle.LargeBody, globalStyle.TopBarTitleColor]}>
Filter {this.state.filterName.substring(0, this.state.filterName.lastIndexOf(':'))} by:
</Text>
</View>
<TouchableOpacity style={{ width: "10%" }} onPress={() => { this.setState({ showDialog3: false }) }}>
<Icon2
name={"close"}
size={24}
color={"#FFFFFF"}
/>
</TouchableOpacity>
</View>
<ScrollView
style={{ flex: 1 }}
contentContainerStyle={[globalStyle.popOutBody, { flexGrow: 1 }]}>
{/* Sample scrollable item */}
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
<View style={{ padding: 16, backgroundColor: '#f0f0f0', marginBottom: 10, borderRadius: 8 }}>
<Text style={{ fontSize: 16, color: '#333' }}>This is a sample scrollable item.</Text>
</View>
</ScrollView>
</View>
</Dialog>
Screenshots/Video
https://github.com/user-attachments/assets/a5c86a79-3be8-4f8a-96f6-78d28ed0b278
Environment
- React Native version: 0.77.3
- React Native UI Lib version: 8.3.2
Affected platforms
- Android
- iOS
- Web
- Lenguaje dominante
- TypeScript
- Estrellas
- 7.2k
- Forks
- 749
- Merge medio
- 29 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wix/react-native-ui-lib
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
wix/react-native-ui-lib#4022 ·
Los mantenedores suelen responder en 1 día
-
SortableGridList does not forward props to its inner ScrollView (inconsistent with SortableList)Posiblemente ocupada @yinminqian la tomó hace 172 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
wix/react-native-ui-lib#4002 ·
Los mantenedores suelen responder en 1 día
-
RN 0.85.0 StyleSheet.absoluteFillObject is removedPosiblemente ocupada @ChrisJamesC la tomó hace 78 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
wix/react-native-ui-lib#3965 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
asBaseComponent: stale module-level colorScheme prevents re-render on scheme switch backPosiblemente ocupada @huytdps13400 la tomó hace 33 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
wix/react-native-ui-lib#3945 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
wix/react-native-ui-lib#4044 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de wix/react-native-ui-lib
Issues similares
-
Cleanup SetupPosiblemente ocupada @AlexanderKaran la tomó hoy. Abiertodocumentation enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
e18e/framework-tracker#769 ·
Los mantenedores suelen responder en 1 día
-
fix(docker): correct stale --db-path comments in fetch/git Dockerfiles and clarify git READMEAbiertobug v2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
modelcontextprotocol/servers#5483 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
XiaomiMiMo/MiMo-Code#2783 ·
Los mantenedores suelen responder en 1 día
-
area: web bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
kinqsradio/orbyn-engineering#227 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
joeldesante/TurfBuilder#258 ·
Los mantenedores suelen responder en 1 día