✅ Solved: Trying to figure out a scroll constraint issue
Hello friends,
i am trying to find the best possible approach for making scrolling a little more accessible in my scenario. I have trouble making both functionalities possible at the same time:
1. The user can drag-scroll the graphic horizontally using Rive’s native Scroll constraint.
2. The user can click on some control buttons which will SET the scroll percentage to a certain value.
I used an interpolator to smoothly iterate between values - however, i learned that the Interpolator (or other converters) are not supported on bi-directional binds.
I have attached a very simple example of the issue - right now the interpolator is not bound, because when i do that, the mouse dragging functionality stops..
For now, i don’t see any smooth workaround that will enable both features to work simultaneously - i was considering re-building the scrolling stuff with other constraints and aligning targets, but it also has its own set of issues.
Am i missing something? Do you have an idea for a workaround or for making both versions the versions change smoothly no matter from what direction the change is induced? (mouse drag / value setting from listener)