fix: auto-focus search box when link record selector opens#3582
Open
ajuijas wants to merge 1 commit into
Open
Conversation
The row selector for linked-record fields did not focus its search input on open, requiring an extra click before typing. Auto-focus the search input when the link editor mounts. Signed-off-by: ajuijas <189517297+ajuijas@users.noreply.github.com>
ajuijas
force-pushed
the
fix/2928-linked-record-selection
branch
from
July 18, 2026 16:40
370d896 to
5b41232
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SearchInput(new optionalautoFocusprop, opt-in so the other consumer of this shared component, the settings query builder's persistent search bar, is unaffected) and wires it up from the link editor'sEditorMain.Why this option (of the two proposed in the issue)
The issue offered two options: make the cell searchable on a single click, or keep the existing double-click-to-open flow and just auto-focus the search box. Went with the latter: double-click-to-edit is the grid's shared activation gesture across every field type (
packages/sdk/src/components/grid/InteractionLayer.tsx'sonDblClick), so changing it for link fields only would special-case one field type against the whole interaction model (single click is also used for cell selection/range-select) for a much larger, riskier change. Auto-focusing the search input is a small, localized fix that removes the actual friction described (an extra click before typing).Test plan
pnpm install/build/lint/typecheck in my environment (tooling install was blocked by sandbox restrictions with no interactive approval available). Noting this rather than claiming it was verified. Happy to address any build/lint feedback from CI.Fixes #2928