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:
Maikel Perez 2024-01-19 09:32:59 -03:00 committed by GitHub
parent 60509aa539
commit aa57be7c97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Hide the product type selector dropdown when click outside

View File

@ -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',