diff --git a/packages/primevue/src/colorpicker/style/ColorPickerStyle.js b/packages/primevue/src/colorpicker/style/ColorPickerStyle.js index c9d27464f..c5aad8d4a 100644 --- a/packages/primevue/src/colorpicker/style/ColorPickerStyle.js +++ b/packages/primevue/src/colorpicker/style/ColorPickerStyle.js @@ -116,7 +116,7 @@ const theme = ({ dt }) => ` const classes = { root: 'p-colorpicker p-component', preview: ({ props }) => ['p-colorpicker-preview', { 'p-disabled': props.disabled }], - panel: ({ props }) => [ + panel: ({ instance, props }) => [ 'p-colorpicker-panel', { 'p-colorpicker-panel-inline': props.inline,