diff --git a/components/slider/style/index.less b/components/slider/style/index.less index 98b7685e0d..66d63b1552 100644 --- a/components/slider/style/index.less +++ b/components/slider/style/index.less @@ -66,6 +66,15 @@ &.@{ant-prefix}-tooltip-open { border-color: @slider-handle-color-tooltip-open; } + + &::after { + position: absolute; + top: -6px; + right: -6px; + bottom: -6px; + left: -6px; + content: ""; + } } &:hover {