Focus dropdown button on close

This commit is contained in:
tidy-dev 2023-08-22 20:40:54 -04:00
parent 8cbb3eefd1
commit 52a3fd0e1d

View file

@ -129,7 +129,7 @@ export class DropdownSelectButton<
}
this.setState({ checkedOption: selectedOption, showButtonOptions: false })
this.dropdownButtonRef?.focus()
this.props.onCheckedOptionChange?.(selectedOption)
}