How to animate defaultScrollAnchor

I use defaultScrollAnchor(_ anchor: UnitPoint?) -> some View but I don't know how to animate it?

@VolodyaStep Could you elaborate on what youre trying to achieve?

I use defaultScrollAnchor(_ anchor: UnitPoint?) -> some View but I don't know how to animate it?

Are you trying to animate anchor UnitPoint change?

How to animate defaultScrollAnchor
 
 
Q