Skip to content

Commit

Permalink
fix: avoid false click when dragging slider on palette (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhattav authored Dec 10, 2024
1 parent 569851a commit 7b2fcb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/MassSlider/MassSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ export const MassSlider: React.FC<MassSliderProps> = ({
alignItems: "center",
justifyContent: "center",
}}
onClick={(e) => {
e.stopPropagation();
}}
>
<div
style={{
Expand Down

0 comments on commit 7b2fcb2

Please sign in to comment.