From 0ad8ab9460ad6bc065abd1bc452adf614b445a6f Mon Sep 17 00:00:00 2001 From: Batuhan Tomo <91488737+Rekl0w@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:49:59 +0300 Subject: [PATCH] Fix #6854: chore: Fix panel style in DropdownBase.js (#6856) --- components/lib/dropdown/DropdownBase.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lib/dropdown/DropdownBase.js b/components/lib/dropdown/DropdownBase.js index 005a14a8f5..f0c5383228 100644 --- a/components/lib/dropdown/DropdownBase.js +++ b/components/lib/dropdown/DropdownBase.js @@ -150,9 +150,9 @@ const styles = ` const inlineStyles = { wrapper: ({ props }) => ({ maxHeight: props.scrollHeight || 'auto' }), - panel: ({ props }) => { - props.panelStyle; - } + panel: ({ props }) => ({ + ...props.panelStyle + }) }; export const DropdownBase = ComponentBase.extend({