Bug Summary
Sometimes when the user has clicked on a button with their mouse, this will cause the button to become focussed. In these scenarios when they then go to press space/enter it will cause that button to be clicked again.
Expected behavior
I would expect the hotkeys to do as they're supposed to.
Observed Behaviour
Sometimes when attacking the player will accidentally open a dialog instead.
Steps To Reproduce
Click on a button in the UI
Close that dialog with ESC
Press Space/Enter
Environment
Version: df709fa
OS: OSX 10.15
Browser: Firefox 77
Additional context
This is probably caused by the browsers focussing mechanics, and may be possible to remove by removing the ability to focus on specific items, or by making other things autofocussed.
Bug Summary Sometimes when the user has clicked on a button with their mouse, this will cause the button to become focussed. In these scenarios when they then go to press space/enter it will cause that button to be clicked again.
Expected behavior I would expect the hotkeys to do as they're supposed to.
Observed Behaviour Sometimes when attacking the player will accidentally open a dialog instead.
Steps To Reproduce
Environment
Additional context This is probably caused by the browsers focussing mechanics, and may be possible to remove by removing the ability to focus on specific items, or by making other things autofocussed.