Change to `mousedown` for example to hide the keyboard when tapping on 'next'.