I've been noticing lately on PC client since 6.3, that my character do randomly move in one direction after hitting enter. I am on controller UI mode, so enter opens and closes the direct type chat window. The movement stops when the chat window is open or when I click out of game window to change focus. The workaround is to click out of the game then back to stop the character movement.
I do have AMD 6550 and is updated to latest driver. I don't know if this is a bug specific to AMD users or specific to PC version because I had no issue on PS5 version.