Please try to restart your device. some times a simple restart will fix the issues.
If the issue still persists, try to delete the cache and data of the Keyboard app then restart your device and check. To clear the cache and data of the keyboard app follow the below steps:
Open settings >> Apps >> Select the Call of Duty app >> Storage >> Clear cache and Clear Data.
Note: Clearing the data will reset the app to factory default settings. Any personal settings saved on the app will be removed.