You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue assignee picker search fails when the query has leading or trailing spaces #43581
In the web issue detail panel (apps/web/src/components/issue/IssueDetailPanel.tsx), searching in the Change assignees picker (IssueAssigneePicker) with leading or trailing spaces (for example " alice " after pasting a handle) returns no matches.
Cause
IssueAssigneePicker computes const needle = query.toLowerCase() at apps/web/src/components/issue/IssueDetailPanel.tsx:253 without .trim(), unlike the sibling IssueLabelPicker in the same file (fixed in #43327) and mobile's IssueAssigneesScreen.tsx.
Expected behavior
Leading and trailing whitespace in the issue assignee picker search input should be ignored when matching candidate logins and names, matching IssueLabelPicker and mobile.
Activity