SwiftUI TextField have bug with PinYin-10key keyboard

when I use TextField with Chinese,Simplified, PinYin-10Key Keyboard, it can not work as expected, always break down the spell.

In contrast, PinYin-QWERTY keyboard works well.

for example, when input nihao should list options like 你好


This bug can be reproduced with below code

Code Block swift
struct ContentView: View {
  @State private var message = ""
  var body: some View {
    VStack(alignment: .center) {
      Text("message: \(message)")
      TextField("text", text: $message)
    }
  }
}




This bug stoped us to release the first SwiftUI app, and a feedback (FB7599129) has been fired at Feb, 2020.

The problem is that for the language if we need to type multiple keys to input one character, the textfield does not work.
@Apple, would you please help to suggest the solution, the textfield should be very basic I think.


SwiftUI TextField have bug with PinYin-10key keyboard
 
 
Q