diff --git a/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap b/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap index 79d0a8489e1d..431e2a563f6e 100644 --- a/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap +++ b/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap @@ -25459,7 +25459,7 @@ exports[`ConfigProvider components Slider configProvider 1`] = ` />
( const handleRender: RcSliderProps['handleRender'] = (node, info) => { const { index, dragging } = info; - const rootPrefixCls = getPrefixCls(); const { tooltip = {}, vertical } = props; const tooltipProps: SliderTooltipProps = { @@ -217,7 +216,6 @@ const Slider = React.forwardRef( title={mergedTipFormatter ? mergedTipFormatter(info.value) : ''} open={open} placement={getTooltipPlacement(tooltipPlacement ?? legacyTooltipPlacement, vertical)} - transitionName={`${rootPrefixCls}-zoom-down`} key={index} overlayClassName={`${prefixCls}-tooltip`} getPopupContainer={ diff --git a/components/tooltip/style/index.tsx b/components/tooltip/style/index.tsx index ae7c660854ec..cbfe8bd4eecf 100644 --- a/components/tooltip/style/index.tsx +++ b/components/tooltip/style/index.tsx @@ -161,11 +161,7 @@ export default (prefixCls: string, injectStyle: boolean): UseComponentStyleResul tooltipRadiusOuter: borderRadiusOuter > 4 ? 4 : borderRadiusOuter, }); - return [ - genTooltipStyle(TooltipToken), - initZoomMotion(token, 'zoom-big-fast'), - initZoomMotion(token, 'zoom-down'), - ]; + return [genTooltipStyle(TooltipToken), initZoomMotion(token, 'zoom-big-fast')]; }, ({ zIndexPopupBase, colorBgSpotlight }) => ({ zIndexPopup: zIndexPopupBase + 70,