Currently, when we type shortcuts like e or f in textarea on mobile devices, the corresponding action will be triggered. However, these action shouldn't be triggered when user is focused on textarea. The problem lies in
if ( $( document.activeElement ).is( 'textarea, input' ) ) { if ( e.key === 'Escape' ) { $( document.activeElement ).blur(); } return; }