A KeyboardEvent event occurs when the user presses a key while the cursor is located inside a TextInput or TextBox.
KeyboardEvent
TextInput
TextBox
Last updated: 22 February 2026