0

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.

Whats the best way to do this? enter image description here

Osama Naeem
  • 1,830
  • 5
  • 16
  • 34

0 Answers0