The Bug:
Pressing the SPACE or ENTER keys to interact with elements results in the pressed key being executed again.
This can also be seen when exiting GUIs by pressing the "Done" button. Additionally, clicking on a button that will have a search field in focus after interacting with it, will result in the search field being inputted with a SPACE.
Steps to Reproduce:
Hit the ESC key on your keyboard.
Press the TAB key once to focus the "Back to Game" button.
Now press the SPACE key.
Take note of how your character jumps indicating that pressing the SPACE key to interact with a button results in the SPACE key being executed again.
Observed Behavior:
Pressing the SPACE or ENTER keys to interact with elements results in the pressed key being executed again.
Expected Behavior:
Pressing the SPACE or ENTER keys to interact with elements would not result in the pressed key being executed again.
Possibly relates to MC-169163.