-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
| DispatchQueue.main.async { |
This line causes an occasional loss of a change with SwiftUI on macOS, presumably due to reordering of updates. After typing a character, the change is undone.
Why was the line needed? There isn't a comment in the code or an explanation in the change description. On macOS, SyntaxTextView.Coordinator.didChangeText is already called on the main thread.
There's this clue: // allow the client to decide on thread... but I'm still not sure the intent.
thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels