Sometimes when I am typing in any interface in Minecraft, whether that be in the chat, in command blocks, in structure blocks, or anything like that, the interface will start acting as if I am pressing down on the command button when I am not.For example, when I try to type the letter 'A' all of the text that I'm typing will be highlighted as if I tried to select it, even though I didn't.I'm able to stop this by either actually holding down the command button (only one of the buttons work, it's random which one it will be) or restarting the game, but I still don't know why it happens.
Please check if that's still an issue for you in the latest 1.15.1 stable release