I have a simple LazyVStack
which is wrapped by a ScrollView
and ScrollViewReader
. On tap, the element extends and at times goes outside the visible screen. How can I scroll the scrollview so that I can see the full extended element?
This illustration kinda gives an idea what I am trying to do. I would like to scroll the scrollview so that the entire extended element is visible.