callstack / callstack/react-native-pager-view

The first SceneView's height is not full

Abierto
#575 8 comentarios 7 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
3.4k
Forks
476
Merge medio
10 d 21 h
PR fusionados (30 d)
2

Descripción

## Environment

| Package | Version |
| ---- | ---- |
| expo | 45.0.5 |
| react | 17.0.2 |
| react-native | 0.68.2 |
| react-native-tab-view | 3.1.1 |
| react-native-pager-view | 5.4.15 |
| node | 16.13.2 |
| yarn | 1.22.10 |
| @react-navigation/native | 6.0.10 |
| @react-navigation/native-stack | 6.6.2 |

## Description

In my case, if the `TabView` be wrapped in the `NavigationContainer` which exported from `@react-navigation/native`, the first route has a bottom blank.

And I debug the element tree by react-native-debugger, found that the first SceneView's height is incorrectly.

![Jun-12-2022 23-26-22](https://user-images.githubusercontent.com/23474513/173240516-bfb46b4d-b3b3-4751-94af-8f5f8fc13de3.gif)

## Reproducible Demo

https://snack.expo.dev/@blucas/bottom-blank

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con el Expo Snack enlazado y reproduce el área en blanco cuando TabView está envuelto en NavigationContainer. Inspecciona la altura medida del primer SceneView en comparación con las otras rutas y, después, verifica que la primera ruta ocupe toda la altura disponible sin un espacio en blanco inferior.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.