Sorry for the inconvenience. I'm afraid it's a known
compatibility issue of Samsung keyboard which
conflicts with all the 3rd-party apps with accessibility service
(activated). We developers could do nothing except reporting it to
Samsung and wait for them to fix that.
At present, it's suggested to use alternative keyboard app, such as
Google Keyboard or SwiftKey.