diff --git a/package.json b/package.json index 4127716..00de6be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@programmer_network/yail", - "version": "1.0.180", + "version": "1.0.181", "description": "Programmer Network's official UI library for React", "author": "Aleksandar Grbic - (https://programmer.network)", "publishConfig": { diff --git a/src/Components/Accordion/index.tsx b/src/Components/Accordion/index.tsx index 64f5a4c..4daddc7 100644 --- a/src/Components/Accordion/index.tsx +++ b/src/Components/Accordion/index.tsx @@ -79,7 +79,6 @@ const Accordion: FC = ({ .map((section, idx) => (
onSectionClick?.(section)} draggable={hasDraggableSections} onDrag={e => handleDrag(e, section)} onDragOver={() => @@ -106,6 +105,7 @@ const Accordion: FC = ({ onClick={e => { e.stopPropagation(); e.preventDefault(); + onSectionClick?.(section); setSelectedSectionId(section.id); }} className={classNames(