From 52a3fd0e1d0039c30d6dcde73b50eae778d9d7b8 Mon Sep 17 00:00:00 2001 From: tidy-dev <75402236+tidy-dev@users.noreply.github.com> Date: Tue, 22 Aug 2023 20:40:54 -0400 Subject: [PATCH] Focus dropdown button on close --- app/src/ui/dropdown-select-button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/ui/dropdown-select-button.tsx b/app/src/ui/dropdown-select-button.tsx index 05c057b2cf..2e4a29e462 100644 --- a/app/src/ui/dropdown-select-button.tsx +++ b/app/src/ui/dropdown-select-button.tsx @@ -129,7 +129,7 @@ export class DropdownSelectButton< } this.setState({ checkedOption: selectedOption, showButtonOptions: false }) - + this.dropdownButtonRef?.focus() this.props.onCheckedOptionChange?.(selectedOption) }