Cider, TextField - How to move up/down on isKeyboardShowing()?


I’m using Cider 7.1 and I have a TextField that I have to move up when the user clicks on it and the keyboard appears, or it will be hidden.

What is the recommended way to do it?



There’s a isKeyboardShowing() function that tests whether the keyboard is currently visible. So, you can do something like:

    If isKeyboardShowing() then myTextBox.y = 200 else myTextBox.y = 20 end