fixed: unable to typing non-ascii characters by default iOS soft keyboards
This commit is contained in:
1 parent
b650ac0ca3
commit
94a8caa5df
1 file changed
+3
@@ -1213,6 +1213,9 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)onKeyboardPressed:(UITextField *)textField {
|
- (void)onKeyboardPressed:(UITextField *)textField {
|
||||||
|
|
||||||
|
if (textField.markedTextRange) return;
|
||||||
|
|
||||||
NSString* inputText = textField.text;
|
NSString* inputText = textField.text;
|
||||||
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
|
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
|
||||||
// If the text became empty, we know the user pressed the backspace key.
|
// If the text became empty, we know the user pressed the backspace key.
|
||||||
|
|||||||
Reference in new issue
Block a user