Skip to content

Commit

Permalink
chore: Update package version to 1.0.181 and fix Accordion onDragged …
Browse files Browse the repository at this point in the history
…event handler
  • Loading branch information
agjs committed May 7, 2024
1 parent 9e49c35 commit b4a4cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Accordion/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ const Accordion: FC<IAccordionProps> = ({
.map((section, idx) => (
<div
key={section.id}
onClick={() => onSectionClick?.(section)}
draggable={hasDraggableSections}
onDrag={e => handleDrag(e, section)}
onDragOver={() =>
Expand All @@ -106,6 +105,7 @@ const Accordion: FC<IAccordionProps> = ({
onClick={e => {
e.stopPropagation();
e.preventDefault();
onSectionClick?.(section);
setSelectedSectionId(section.id);
}}
className={classNames(
Expand Down

0 comments on commit b4a4cc8

Please sign in to comment.