diff --git a/components/carousel/style/index.less b/components/carousel/style/index.less index a8376fd25d..7c70287b0d 100644 --- a/components/carousel/style/index.less +++ b/components/carousel/style/index.less @@ -31,8 +31,19 @@ .slick-slide { pointer-events: none; + // https://github.com/ant-design/ant-design/issues/23294 + input.@{ant-prefix}-radio-input, + input.@{ant-prefix}-checkbox-input { + visibility: hidden; + } + &.slick-active { pointer-events: auto; + + input.@{ant-prefix}-radio-input, + input.@{ant-prefix}-checkbox-input { + visibility: visible; + } } } }