Problems with using rive assets with nested art
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react-native, typescript
- Lĩnh vực
- mobile-dev
Hướng nghiên cứu
Start with the linked repro, comparing its parent-artboard and nested-artboard tabs across iOS and Android. Read useSetRiveRenderer.ts and investigate the reported scrolling, click, button-state, and virtualized-node input behavior. Done means the listed issues no longer reproduce with nested art assets on the affected native platforms.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Rive assets with an artboard that leverages nested artboards have a couple of issues.
IOS
- Scrolling on lists is not as smooth (best perceived when slowly scrolling)
Android
- Click events are not firing nearly as often as they should be
- Can not hold and keep buttons depressed (possibly related)
Both Platforms
- Nodes below the fold (likely those caught in virtualization) sometimes don't have their inputs set.
These problems are not observed with rive assets that don't use nested artboards or when directly using the nested artboard as opposed to the parent artboard.
None of these issues exist on web either.
Provide a Repro
https://github.com/GibbyBox/repro-nested-artboard-native-issues
Source .riv/.rev file
.riv committed in repro
ui_nodes.rev.zip
Device & Versions (please complete the following information)
- Device: Iphone 15 Pro Max, Google Pixel 7a
- OS: iOS 18.3.1, Android API level 34
- NPM Version: 10.5.2
Additional Context
The provided repro has two tabs - one where I use the parent artboard and one where I instead use the nested artboard. I've also tested and can confirm this issues exists on all rive rendering engines (can be configured in useSetRiveRenderer.ts)
- Ngôn ngữ chính
- TypeScript
- Star
- 785
- Fork
- 81
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rive-app/rive-react-native
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rive-app/rive-react-native#433 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
rive-app/rive-react-native#431 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
rive-app/rive-react-native#448 · 2 bình luận · 1 reaction ·
-
[Android] Rive events dispatched off the UI thread can deadlock with Reanimated under Fabric (ANR)Có thể đã có người làm @Togetic đã nhận 35 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
rive-app/rive-react-native#444 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
rive-app/rive-react-native#441 ·
Tất cả issue của rive-app/rive-react-native
Issue tương tự
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/docs#46222 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-ready area: config area: skills type: chore upstream: brain-kit
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
enhancement priority:low ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug escritorio mapa
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
marcosferr/reporte-ciudadano#4 · 1 bình luận ·
-
area: material/sort gemini-triaged needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
angular/components#33933 ·
Maintainer thường phản hồi trong vòng 1 ngày