How do I attach a toast to the keyboard

How do I make a toast attach itself to the top of the keyboard when the keyboard is up and attach it to the bottom of the screen (as it does by default) when the keyboard is not open.

Does anyone know how to do this? :worried:

There is no way to do this automatically, you’ll need to use the keyboard plugin and listen to the keyboardShow and keyboardHide events and position the element youself. you could add custom css class to the toast and use it to target and move it.