I had this problem on my samsung tab3, using the desktop version of facebook on chrome and internet. The thing that fixed it for me was turning off predictive text. I really didn't want to download the messenger app, and not having predictive text is a pain but I'm happy to have worked it out!