Unable to use with SectionList
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- react-native
- Área
- mobile
Línea de trabajo
Reproduce el fallo con react-native SectionList usando props.start(false, refSectionList.current). Empieza con la llamada a scrollView.scrollTo mostrada en el error y verifica cómo se pasa la referencia de SectionList. Se considera hecho cuando la llamada ya no genera un TypeError y el desplazamiento funciona.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When used with react-native SectionList and called with ref to enable scrolling like:
props.start(false, refSectionList.current); - getting a TypeError as below;
TypeError: scrollView.scrollTo is not a function. (In 'scrollView.scrollTo({
y: yOffsett,
animated: false
})', 'scrollView.scrollTo' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0
React-Native SectionList Inherits ScrollView Props since it's a wrapper around , and thus inherits its props (as well as those of ), so I believe this should work? @mohebifar
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.4k
- Forks
- 425
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 mohebifar/react-native-copilot
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
mohebifar/react-native-copilot#354 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
mohebifar/react-native-copilot#351 · 1 comentario · 1 reacción ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
mohebifar/react-native-copilot#349 · 11 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
mohebifar/react-native-copilot#348 · 2 comentarios ·
Todos los issues de mohebifar/react-native-copilot
Issues similares
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
ag-ui-protocol/ag-ui#3504 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Dokploy/dokploy#6151 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NousResearch/hermes-agent#161712 ·
Los mantenedores suelen responder en 1 día
-
bug p3
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rothgar/rabble.radio#283 ·
Los mantenedores suelen responder en 1 día
-
bug from-app needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
nightly-labs/openbot#19805 · 1 comentario ·
Los mantenedores suelen responder en 1 día