mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 11:35:56 +00:00
Fix/android check normal usbhid usage (#9784)
* fix: android check normal usbhid usage Signed-off-by: fufesou <linlong1266@gmail.com> * fix: android input, ignore composing if is deleting Signed-off-by: fufesou <linlong1266@gmail.com> --------- Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -224,7 +224,9 @@ class _RemotePageState extends State<RemotePage> {
|
||||
|
||||
void _handleNonIOSSoftKeyboardInput(String newValue) {
|
||||
_lastComposingChangeValid = _textController.value.isComposingRangeValid;
|
||||
if (_lastComposingChangeValid) {
|
||||
if (_lastComposingChangeValid && newValue.length > _value.length) {
|
||||
// Only early return if is composing new words.
|
||||
// We need to send `backspace` immediately if is deleting letters.
|
||||
return;
|
||||
}
|
||||
var oldValue = _value;
|
||||
|
||||
Reference in New Issue
Block a user