Skip to content

Commit b64db65

Browse files
committed
fix: weird input behavior on some android keyboards
1 parent ad8e4f6 commit b64db65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/ts/input/handlers/insert-text.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export async function onInsertText(options: OnInsertTextParams): Promise<void> {
6969
// make sure to not call TestInput.input.syncWithInputElement in here
7070
// it will be updated later in the body of onInsertText
7171
setInputElementValue(inputValue.slice(0, -options.data.length));
72+
TestInput.input.syncWithInputElement();
7273
for (let i = 0; i < options.data.length; i++) {
7374
const char = options.data[i] as string;
7475

0 commit comments

Comments
 (0)