Hey!
I want the behavior to be similar to the one in the video.
I use the onComplete method to understand when the circle has increased and horizontal scrolling should work for me.
Since mine is a circle shape, I think it would be correct to hide the circle shape and display a container with the same color.
In this container, set the width of the first child to 100% and the width of the other to 50%.
As you scroll, reduce the width of the first child element to 50%.
How to do this correctly? I don't quite understand how to do this correctly.
Tell me, how can I catch the middle of the animation in order to display the text? For example, the circle enlarged a little and the text was gradually displayed; for example, you can also see it in the video.
It is also not clear to me how to determine the start and end in this code to trigger the horizontal scroll. I specified start and end, but I think that's wrong for what I need.
I would like to get a comment on how to create a similar sequence for animation.
I believe that it will be enough for me to suggest how to correctly implement horizontal behavior after performing an animation with a circle and simply display the container and I will try to understand how to further connect this chain and I will independently try to change the width for the next animations, and I would also like to get an answer, How can you correctly display text there in the middle of the circle enlargement animation?
2023-10-18 23-59-29.mp4