mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02: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:
parent
711ed28846
commit
bae4a2c710
2 changed files with 36 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue