Skip to content

Commit

Permalink
Add back placement override for color picker dropdown when in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Aug 4, 2022
1 parent 088c11b commit 600b64a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ function GradientColorPickerDropdown( {
};
if ( isRenderedInSidebar ) {
result.anchorRef = gradientPickerDomRef;
result.placement = 'bottom-start';
}
return result;
}, [ gradientPickerDomRef, isRenderedInSidebar ] );
Expand Down

0 comments on commit 600b64a

Please sign in to comment.