Just a heads-up ---- I too started having the same problem several days ago with my Samsung Galaxy S7 especially in my mail app. After using the solution mentioned above earlier this evening, the keyboard finally responded properly; however, it was short-lived. The problem returned as before...