🪛 In Progress: Trigger seems not working in Data binding List items
Hi Rive team,
I’m running into an issue when trying to use a Trigger inside a list item and would appreciate your help.
The Setup:
I have a Trigger property (e.g. onTap) defined inside a single Item ViewModel.
This item is used within an Item List ViewModel to generate a list using the List feature.
I want to set up a Listener on that Trigger, so that when the user taps an item, it triggers something like a selection change or animation.
The Problem:
When I go into the Set Trigger action panel to wire up the logic:
I cannot find a valid source (i.e. “from”) to connect to the item’s trigger property.
The trigger is visible in the list item’s VM, but the from field doesn’t show any option coming from the list (i.e. the source item in the list).
Because of this, I cannot set up the trigger via the Editor.
Also, in the iOS Runtime, I’m not able to trigger the list item’s Trigger either — it seems completely inaccessible from outside.
My Questions:
Why can’t I assign a source to the item’s Trigger when it’s inside a List?
Is this a limitation of how triggers behave inside list-bound VMs?
Is there a way to access or fire an item’s Trigger from the Runtime if the item is generated via a List?
I expected to be able to get a reference to each list item instance and fire the trigger, but I haven’t found a way.
What’s the correct setup to make a Trigger inside an item usable (either in Listener or iOS Runtime) when used inside a List?
Thanks so much in advance! I’d love to understand whether this is a known limitation or if I’m missing something fundamental in the setup. 🙏