Hey,
in one of the views in our app I'm trying to use TargetList, because I need a component with the possibility to scroll its items horizontally (by pressing left/right arrow) with keeping the focused item centered on the screen, so TargetList looks like the only choice. I've already implemented it and found a bug when using jumpToItem attribute. It looks like using this attribute to change selected item changes only itemFocused index, while itemSelected index is unchanged. This causes the problem when I programmatically change the focused item right after TargetList is rendered to, let's say the 10th item and then user presses "right" button on the RC - the component scrolls to the second item, because the itemSelected index didn't change after jumpToItem execution, so its value was "0". Using animateToItem makes the same problem.
Update: Even if I select an item after using jumpToItem, so itemSelected index is correct, still when I push arrow button, it scrolls to the second item. So it looks like there is a third, private index.
Are there any plans to fix this problem or does anyone at least know how to work around it? Thanks in advance.
By the way, why the source code of SceneGraph isn't open source? We could fix such bugs and open pull requests with changes.