fix abnormal backspace issue reported from google play
This commit is contained in:
parent
ce3e9ce8d6
commit
b2c8c247b2
@ -158,7 +158,9 @@ class _RemotePageState extends State<RemotePage> {
|
||||
// clipboard
|
||||
oldValue = '';
|
||||
}
|
||||
if (newValue.length <= oldValue.length) {
|
||||
if (newValue.length == oldValue.length) {
|
||||
// ?
|
||||
} else if (newValue.length < oldValue.length) {
|
||||
final char = 'VK_BACK';
|
||||
FFI.inputKey(char);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user