From 79df3d79371d80bb42180517baa0ad8aeeff44ca Mon Sep 17 00:00:00 2001 From: Fernando Marichal Date: Mon, 21 Aug 2023 11:02:12 -0300 Subject: [PATCH] Fix display error in the Categories dropdown (#39811) * Set flip as false * Add changelog --- .../changelog/fix-39810_categories_dropdown_visibility | 4 ++++ .../src/experimental-select-tree-control/select-tree-menu.tsx | 1 + 2 files changed, 5 insertions(+) create mode 100644 packages/js/components/changelog/fix-39810_categories_dropdown_visibility diff --git a/packages/js/components/changelog/fix-39810_categories_dropdown_visibility b/packages/js/components/changelog/fix-39810_categories_dropdown_visibility new file mode 100644 index 00000000000..301a25592c0 --- /dev/null +++ b/packages/js/components/changelog/fix-39810_categories_dropdown_visibility @@ -0,0 +1,4 @@ +Significance: minor +Type: fix + +Categories dropdown display error #39810 diff --git a/packages/js/components/src/experimental-select-tree-control/select-tree-menu.tsx b/packages/js/components/src/experimental-select-tree-control/select-tree-menu.tsx index fe26480d94b..ee13ebfeb67 100644 --- a/packages/js/components/src/experimental-select-tree-control/select-tree-menu.tsx +++ b/packages/js/components/src/experimental-select-tree-control/select-tree-menu.tsx @@ -104,6 +104,7 @@ export const SelectTreeMenu = ( { } ) } position={ position } + flip={ false } animate={ false } onFocusOutside={ ( event ) => { if ( isEventOutside( event ) ) {