I don't think the actual delay is necessary. If you just use DispatchQueue.main.async {} it seems to solve it as well. I'm just not sure what the side effects of this would be?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: