The FilterPanel's inline search box would benefit from an autoFocus property on FilterDefinition to auto-focus the search input when a filter group is expanded.
This would enable UX patterns where users can open a filter facet and immediately start typing to search (e.g., in the Stagehand Backlog, the repository filter would auto-focus its search when opened).
Suggested implementation:
- Add optional
autoFocus?: boolean to FilterDefinition interface
- When a filter with autoFocus=true is expanded, add autoFocus attribute to the OptionList's search input
The FilterPanel's inline search box would benefit from an
autoFocusproperty on FilterDefinition to auto-focus the search input when a filter group is expanded.This would enable UX patterns where users can open a filter facet and immediately start typing to search (e.g., in the Stagehand Backlog, the repository filter would auto-focus its search when opened).
Suggested implementation:
autoFocus?: booleanto FilterDefinition interface