diff --git a/src/components/RangeSlider/index.vue b/src/components/RangeSlider/index.vue index 03df2524..9f891a32 100644 --- a/src/components/RangeSlider/index.vue +++ b/src/components/RangeSlider/index.vue @@ -245,7 +245,7 @@ const onBlur = () => { }; const onExternalClick = (e) => { - if (!slider.value.contains(e.target)) { + if (!slider.value?.contains(e.target)) { onBlur(); } };