Ensure that focus is always on the active input element.