to stroke
If you have questions about the conjugation of klavi or Esperanto in general, you can practice and get feedback from a professional tutor.
Mi ĵus klavis lian numeron, kiam li trapasis la pordon.
I was dialing his number just as he walked through the door.