Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with using rive assets with nested art #296

Open
GibbyBox opened this issue Mar 3, 2025 · 0 comments
Open

Problems with using rive assets with nested art #296

GibbyBox opened this issue Mar 3, 2025 · 0 comments

Comments

@GibbyBox
Copy link

GibbyBox commented Mar 3, 2025

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant