Considers hidesBottomBarWhenPushed property when detecting the external keyboard