relax keyboard blocking condition #899