Hide the product type selector dropdown when click outside (#43798)
* Hide the product type selector dropdown when click outside * Add changelog file
This commit is contained in:
parent
60509aa539
commit
aa57be7c97
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Hide the product type selector dropdown when click outside
|
|
@ -275,8 +275,8 @@ export function ProductDetailsSectionDescriptionBlockEdit( {
|
|||
</p>
|
||||
|
||||
<Dropdown
|
||||
focusOnMount={ false }
|
||||
// @ts-expect-error Property does exists
|
||||
focusOnMount={ true }
|
||||
popoverProps={ {
|
||||
placement: 'bottom-start',
|
||||
} }
|
||||
|
@ -302,7 +302,6 @@ export function ProductDetailsSectionDescriptionBlockEdit( {
|
|||
{ unsupportedProductTemplates.length > 0 && (
|
||||
<MenuGroup>
|
||||
<Dropdown
|
||||
focusOnMount={ false }
|
||||
// @ts-expect-error Property does exists
|
||||
popoverProps={ {
|
||||
placement: 'right-start',
|
||||
|
|
Loading…
Reference in New Issue