I suspect it's npt just Samsung. Both google and microsoft (SwiftKey) does the same thing.
The worst part is that the most used national ID-function now stops you from using third party "approved" keyboard due to (misguided) security reasons. Both AnySoftKeyboard and AOSP keyboard is banned.