Rtl dont work when have allowDefault

F.allowDefault = true;
const input = new TextInput({rtl:"rtl",align:"right"}).loc(50,150);

If i dont make:
window.removeEventListener("keydown", window.zilK);
the text input dont work on mobile when is rtl

1 Like

This works for us, I think. But it does the same thing that it does on the computer and not even rtl and that is that it jumps to the top of the page if we start typing. So what is it that does not work for you?

https://zimjs.com/test7/key.html

That work, maybe that because the allowDefault = true in the frame init

Okay - will see if makes a difference for us with it in the Frame() parameters. And will see if we can prevent the jump to the top. That is probably in the code by Xuntar.

1 Like