Skip to content

Commit

Permalink
fix(components): [slider] trigger change event correctly (#9553)
Browse files Browse the repository at this point in the history
  • Loading branch information
holazz committed Aug 31, 2022
1 parent 0539a2d commit 193ef92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ export const useSliderButton = (
}
if (!initData.isClick) {
setPosition(initData.newPosition)
emitChange()
}
emitChange()
}, 0)
window.removeEventListener('mousemove', onDragging)
window.removeEventListener('touchmove', onDragging)
Expand Down

0 comments on commit 193ef92

Please sign in to comment.