callstack / callstack/react-native-pager-view

[android] when used as material-top-tab with react-navigation, navigation.navigate may not complete screen transition

Đang mở
#910 4 bình luận 1 reaction 0 người được giao Xem trên GitHub
android bug fabric
Ngôn ngữ chính
TypeScript
Star
3.4k
Fork
476
Merge trung bình
10 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Mô tả

## Environment

| package | version |
| -------------------------------------- | ------- |
| @react-navigation/native | 7.0.1
| @react-navigation/drawer | 7.0.1
| @react-navigation/material-top-tabs | 7.0.1
| react-native-pager-view |6.5.0
| react-native |0.76.1
| expo |20.0.2
| node | 20
| npm or yarn | 4

## Description

hi! crossposted from https://github.com/react-navigation/react-navigation/issues/12251
I use a custom drawer content to put buttons that navigate to specific screens as material top tabs, which are nested as a drawer screen. since the new arch migration, I observed the sliding transition of the tab screens are 1. too fast; 2. it occasionally does not do a full transition in dev, and almost never in release.
this behavior is not observed in the old arch.
Many thanks for anyone having a look at this!

see the attached video; error occurs toward the very end
https://github.com/user-attachments/assets/42b7e0b4-d784-4ae4-9595-99926aa0126b

## Reproducible Demo

My reproducer is adapted from my app, but I trimmed all of my code and left only Bug.tsx as the actual reproducer.
https://github.com/lovegaoshi/azusa-player-mobile/tree/bug

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách chạy reproducer được liên kết, tập trung vào Bug.tsx và thiết lập material-top-tab gọi navigation.navigate thông qua drawer. So sánh quá trình chuyển đổi trong kiến trúc mới và cũ, ở các bản build development và release; được xem là hoàn tất khi quá trình chuyển đổi tab hoàn thành ở tốc độ mong đợi mà không dừng giữa chừng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
android, react-native, typescript
Lĩnh vực
frontend, mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.