Skip to content

Conversation

xIrusux
Copy link
Contributor

@xIrusux xIrusux commented Sep 30, 2025

Changes in this pull request

Resolves #

Additional info

This pull request improves the accessibility and user experience of several dynamic filter field components by ensuring that focus is managed correctly when dropdowns or date pickers are closed. The changes primarily introduce the use of useRef to programmatically return focus to the relevant input controls after interaction.

Accessibility and focus management improvements:

  • Added useRef hooks and assigned refs to the Select components in dynamic-type-field-filter-boolean-select-component.tsx and dynamic-type-field-filter-multiselect-component.tsx, allowing the component to regain focus when the dropdown is closed. [1] [2] [3] [4] [5] [6]
  • Updated the date filter component (dynamic-type-field-filter-date-component.tsx) to use a ref on the containing Flex element and focus it when any associated date picker dropdown is closed, improving keyboard navigation and accessibility. [1] [2] [3] [4] [5]

@xIrusux xIrusux self-assigned this Sep 30, 2025
Copy link

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant