In SwiftUI, if I'm using ScrollViewProxy to scroll to a particular anchor in a List, is there any way to have it take the top contentMargin into account?

Every time I scroll to an item, it ends up behind the top toolbar ๐Ÿ˜ž

@nicklockwood I had to marg it with a geometry reader.
@beno I'd be prepared to do that, but I'm not even clear how it would help at this point?
@nicklockwood i was going to look at code and tell you but then I realised I change the view (which I donโ€™t remember what I did now) and it works without it and I donโ€™t remember why. Sorry!
@beno sounds like SwiftUI ๐Ÿ˜… thanks for checking anyway

@nicklockwood classic SwiftUI.

Sometimes I miss the simplicity of UIKit ๐Ÿ˜‰