Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Problems with using rive assets with nested art

Đang mở
#296 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rive-app/rive-react-native

Tất cả issue của rive-app/rive-react-native

Issue tương tự

Thêm issue về TypeScript

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.