Use input event not keydown