Hi,
have you tried to turn off Predictive Text in the Smart Typing setting? It solved the problem for me on my S8. :)
Settings -> General Management -> Language and Input -> On-screen keyboard -> Samsung Keyboard
Just turn off the switch for the Predictive Text setting.
Hope it works. :)