Keyboard leaves an undesirable white inset at the end of its dismiss animation.

In SwiftUI, I have noticed that sometimes at the end of a keyboard dismiss animation, it leaves a white "inset" on the screen. The white inset would then disappear without any animation.

For more detailed demonstration, I have filed feedback FB13694633. Is there a way to work around this white inset for now? Thanks!

Keyboard leaves an undesirable white inset at the end of its dismiss animation.
 
 
Q