ModMenu icon indicating copy to clipboard operation
ModMenu copied to clipboard

opening mod list screen via keyboard controls causes unintended input in search box

Open UpcraftLP opened this issue 1 year ago • 2 comments

When opening the mod list screen (both when opening it from another menu and when closing out of a child config screeen) via keyboard, that key press is also transferred to the auto-focused search text box.

This causes issues mostly when using the space key to trigger the button press instead of the enter key.

Tested with version: 7.2.2 (MC 1.20.1) / Quilt

Screenshots (click to expand)

Figure 1: Main menu with keyboard controls selecting the Mods button:

image

Figure 2: The search bar already has a character entered into it upon opening the screen via space key:

image

UpcraftLP avatar Jan 11 '24 05:01 UpcraftLP

Oddly, this issue is considered works as intended in vanilla according to the resolution of MC-198385.

haykam821 avatar Jan 19 '24 04:01 haykam821

weird.. MC-146155 was closed as "fixed in 19w14b", even tho it clearly isn't

UpcraftLP avatar Jan 19 '24 16:01 UpcraftLP