-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ColorPalette, GradientPicker: fix color picker popover positioning (#…
…42989) * ColorPalette: do not ignore popoverProps, always shift, use placement closer to the original * CustomGradientBar: pass parent ref correctly * CustomGradientBar: Use placement instead of position * Add back placement override for color picker dropdown when in sidebar * CHANGELOG * Align popover to bottom center of control point when in sidebar * Remove gradientPickerDomRef prop where not needed * Update snapshots * Update packages/components/src/color-palette/index.js Co-authored-by: Daniel Richards <[email protected]> * GradientPicker: always render popover below control point, memoize popoverProps * Replace custom Button styles by using HStack component * Iterate on the popover behavior * Adjust ofset when stacking popovers * Update CHANGELOG Co-authored-by: Daniel Richards <[email protected]>
- Loading branch information
Showing
6 changed files
with
73 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters