Skip to content

fix: keep search focused while navigating the menu - #1209

Open
saadndm wants to merge 1 commit into
Polyfrost:v1from
saadndm:fix/search-focus
Open

saadndm wants to merge 1 commit into
Polyfrost:v1from
saadndm:fix/search-focus

Conversation

@saadndm

@saadndm saadndm commented Oct 18, 2026

Copy link
Copy Markdown
Member

Closes #1197

@saadndm saadndm reopened this Oct 21, 2026
Comment on lines +184 to +185
awaitFirstDown(requireUnconsumed = false, pass = PointerEventPass.Initial)
if (focused) focusManager.clearFocus()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 [P2] End the active range edit before stepping either spinner

When editing one range endpoint and clicking the other spinner’s arrow, focused is false here, so the active editor never loses focus and RangeSpinners.onEditEnd does not normalize the pair before stepping. Reproduced with an initial range of 10–20: type 30 into the left field, then click the right up-arrow. This patch stores 21–30 and displays 30–21, whereas the base correctly produces 20–31. End the active range edit before applying the arrow step, even when the focused field belongs to the other spinner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

(feat): make search bar in focus after entering any mod menu

2 participants