set a class to the keyboard body to toggle pointer-events.