# compose

Matej Drobnič

05/14/2019, 10:42 AM
1. How would scrolling actions work? For example how would one tell the layout to scroll to the top? I guess you could create
and then force developer to track the scroll position from outside? How would that work performance wise since scroll position can potentially update on every frame?

Andrey Kulikov

05/14/2019, 11:19 AM
it is still to be designed, but we are keeping this usecase in our mind for sure. an action to scroll to some position is not too different from a scrolling as a result of the touch events. about performance the goal is to be able to recompose an affected subtree of every frame
👍 1