We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a199e3 commit e6052e0Copy full SHA for e6052e0
src/components/colorPicker/ColorPalette.js
@@ -128,7 +128,8 @@ export default class ColorPalette extends PureBaseComponent {
128
}
129
130
get containerWidth() {
131
- return this.props.containerWidth || Constants.screenWidth;
+ const {containerWidth} = this.getThemeProps();
132
+ return containerWidth || Constants.screenWidth;
133
134
135
getUniqueColors = memoize(
0 commit comments