The keyboard stays on when the screen is rotated. When going from vertical to horizontal this is not visible because the keyboard is "outside" of the screen (but you do have to press the power button twice to kill and launch the keyboard). When going from horizontal to vertical, (half of) the keyboard stays in the middle of the screen and will accept input. Maybe pkill $KEYBOARD should be added to the to 3 rot-functions in sxmo_rotate.sh. One could also consider reopening the keyboard if it is running (but chances are the user wants to close it anyway).
Cheers IV
Good idea, I just submitted a patch that implements exactly what you suggested.