This is a good suggestion, Ed. Thank you. However I have this issue occurring with a sheet & presentation detents as well.
When I increase the size of the sheet (to say, .medium), I have a function that sees the change of detent and updates safeAreaPadding. This works fine, and smooth.
If I reduce the size of the sheet, perhaps by dismissing it, when the function sets the safeAreaPadding to 0, the map still flashes white in the changed area.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: