rive-app/react-webgl2 not rendering nested lists

Open
#410 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
react, typescript
Domain
frontend

Research direction

Start by reproducing the nested ViewModel list case described for rive-app/react-webgl2 and compare its behavior with the editor, paying attention to the reported “No ViewModel on the context.” message. Trace the React WebGL2 rendering path involved in populating and displaying the nested list; done means the populated circles and triangles render consistently without the reported initialization failure.

Written by the indexing model from the issue text.

Description

See images below.

The script populates a nested ViewModel list. The script reports that the circles have been populated with triangles, but they are not visible.

They work as expected in the editor.

The first line in the console "No ViewModel on the context." is consistently there. So guessing it runs the script again after failing the first time. That line is not in the editor.

Image Image
Dominant language
TypeScript
Stars
1.2k
Forks
58
Avg merge
3h 23m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rive-app/rive-react

All issues in rive-app/rive-react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.