Triggers and Events Seems Not Working Inside List Items
Hi Rive team and community, I’ve run into a problem when working with List and ViewModels, and I’d love some clarification.
The Problem
When I place a ViewModel inside a List, it seems like it’s not bound to the parent VM in the same way.
As a result, triggers and events defined inside the item VM don’t work once the item is part of a List.
In other words:
If the item is standalone, I can access its trigger/event.
But if the same item is generated through a List, the trigger/event can’t be reached or fired anymore.
From my testing, it feels like the List is working only as a visual container (“for view only”) and not passing through any VM logic. This makes it impossible to handle triggers/events at the list item level.
My Question
Is this the intended behavior (Lists being purely for rendering)?
Or is this a bug, since list items should ideally still expose their VM logic (including triggers/events)?
What’s the correct way to handle click/interaction logic inside list items when using Data Binding and ViewModels?
This is currently blocking my use case, since I need to know which list item was clicked and handle all follow-up logic in the runtime. Could you provide an official demo .riv and .rev file, along with an example of the correct iOS runtime code, so we can see how this is supposed to be implemented?
Thanks in advance 🙏