Player Continues Walking When Opening GUI While Holding Diagonal Direction Buttons
When using the directional pad (D-pad) on a mobile device to control character movement, if the player opens the inventory while holding one of the diagonal direction keys (e.g., upper-left, lower-left, upper-right, lower-right), the character continues to move automatically without player input. This behavior is unintended and disrupts normal gameplay.
Steps to Reproduce:
- Use the D-pad to move the character.
- Press and hold one of the diagonal direction keys (e.g., upper-left).
- While holding the key, open the inventory menu.
- Observe the character's movement behavior.
Observed Results:
After opening the inventory menu, the character continues to move in the direction of the held diagonal key, even though no input is being actively provided.
Expected Results:
When the inventory menu is opened, all character movement should cease immediately, regardless of whether a direction key is being held. The character should remain stationary until the inventory is closed and new movement inputs are provided.