Fix value in Dropdown focusOnMount prop
The currently supported values are 'firstElement' | boolean Based on the JS doc and my testing, we need to use true to hide the popup on click elsewhere or by ESC. [MAILPOET-5714]
This commit is contained in:
committed by
Aschepikov
parent
b9475c43b8
commit
cb7ae2a442
@ -33,7 +33,7 @@ export function FiltersChip({ step, strings }: Props): JSX.Element | null {
|
||||
|
||||
return (
|
||||
<Dropdown
|
||||
focusOnMount="container"
|
||||
focusOnMount
|
||||
popoverProps={{ offset: 6 }}
|
||||
renderToggle={({ onToggle, isOpen }) => (
|
||||
<Chip
|
||||
|
Reference in New Issue
Block a user