That was my first thought too, but I am using AnySoft. And I don't have this issue with any other apps or anywhere else in the OS. Its unique to Amethyst.
Discussion
Tried gboard too. Same issue.
Then it can be something else. People usually switch to AnySoft and don't see any more issues. We can't do much on our side. These are between Jetpack Compose, Androids new UU framework, and the keyboard direct. More precisely, the automatic corrections available in them.
Hmmm weird. If it was an Android issue or a framework issue, you'd think I would experience it in other apps too, but strangely Amethyst is the only app. Well.... figured I'd make sure you knew. Sounds like you do 😅