Skip to content

Commit b4a4cc8

Browse files
committed
chore: Update package version to 1.0.181 and fix Accordion onDragged event handler
1 parent 9e49c35 commit b4a4cc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@programmer_network/yail",
3-
"version": "1.0.180",
3+
"version": "1.0.181",
44
"description": "Programmer Network's official UI library for React",
55
"author": "Aleksandar Grbic - (https://programmer.network)",
66
"publishConfig": {

src/Components/Accordion/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ const Accordion: FC<IAccordionProps> = ({
7979
.map((section, idx) => (
8080
<div
8181
key={section.id}
82-
onClick={() => onSectionClick?.(section)}
8382
draggable={hasDraggableSections}
8483
onDrag={e => handleDrag(e, section)}
8584
onDragOver={() =>
@@ -106,6 +105,7 @@ const Accordion: FC<IAccordionProps> = ({
106105
onClick={e => {
107106
e.stopPropagation();
108107
e.preventDefault();
108+
onSectionClick?.(section);
109109
setSelectedSectionId(section.id);
110110
}}
111111
className={classNames(

0 commit comments

Comments
 (0)