Have you ever made this? Thats not as easy as you can imagine.
There are 2 problems in this approach. First of all, defaultStyle is ignored on subsequent renders, it’s applied only on first mount of Motion. So you cant change the start position of animaion on-fly. And the second problem — when you change scrollTop/scrollLeft, onscroll event will be fired on the element, so you need to recognize the difference between user action and manual change.
Thats the reason i’ve asked my question — trying to deal with it from yesterday.