Skip to content

Commit

Permalink
fix(slider): fix onChangeEnd getting called twice. (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-rb authored Jan 22, 2024
1 parent 911bc1b commit 3eaf62d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/src/slider/slider-root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ export function SliderRoot(props: SliderRootProps) {

if (activeThumb !== undefined) {
state.setThumbDragging(activeThumb, false);
local.onChangeEnd?.(state.values());
}
};

Expand Down

0 comments on commit 3eaf62d

Please sign in to comment.