-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Minimal code sample to reproduce:
struct ContentView: View {
@State var message = ""
var body: some View {
Color.blue
.sheet(isPresented: .constant(true)) {
FlickTypeTextEditor("Add Message", text: $message, mode: .ask, onCommit: { })
}
}
}
The first tap on the FlickTypeTextEditor
results in the following message in the console:
2022-01-04 14:25:01.881590+0000 My WatchKit Extension[10590:118594] [Presentation] Attempt to present <PUICQuickboardRemoteViewController: 0x7fd4b3013800> on <SPHostingViewController: 0x7fd4ae811a00> (from <SPHostingViewController: 0x7fd4ae811a00>) whose view is not in the window hierarchy.
Any attempts after that all generate this message instead, irrespective of if the text editor is inside a sheet or part of the root view:
2022-01-04 14:25:11.918978+0000 My WatchKit Extension[10590:118594] Quickboard: attempting to present before the previous presentation has been cleaned up!
I haven't had the time to investigate what causes this yet.