Hide Keyboard

Title basically explains. I’ve searched the site, and these forums, but can neither find…nor understand how to accomplish this.

Basically, I have a button that runs a .JS function. I would like to have the keyboard disappear once the button on my app is pressed. Any assistance is always truly appreciated. :slight_smile:

Hi,

The keyboard will disappear when something other than a TextEdit has focus.

You can try to <GiveFocus> to the button being clicked, for example.

<Button>
    <Clicked>
        <GiveFocus />
    </Clicked>
</Button>

You can use <ReleaseFocus/> targeting the input text too.

I was having this problem all day long. Thanks for the answers.

Anders, you are a life saver good sir. Much obliged!