diff --git a/components/tabs/style/index.less b/components/tabs/style/index.less index 5bc9b85278..8b650f49d1 100644 --- a/components/tabs/style/index.less +++ b/components/tabs/style/index.less @@ -305,6 +305,7 @@ .@{tab-prefix-cls}-ink-bar { width: 2px; + top: 0; left: auto; height: auto; bottom: auto; @@ -385,12 +386,12 @@ .@{tab-prefix-cls}-top .@{tab-prefix-cls}-ink-bar-animated, .@{tab-prefix-cls}-bottom .@{tab-prefix-cls}-ink-bar-animated { - transition: transform .3s @ease-in-out, width .3s @ease-in-out; + transition: transform .3s @ease-in-out, width .3s @ease-in-out, left .3s @ease-in-out; } .@{tab-prefix-cls}-left .@{tab-prefix-cls}-ink-bar-animated, .@{tab-prefix-cls}-right .@{tab-prefix-cls}-ink-bar-animated { - transition: transform .3s @ease-in-out, height .3s @ease-in-out; + transition: transform .3s @ease-in-out, height .3s @ease-in-out, top .3s @ease-in-out; } .no-flex, diff --git a/package.json b/package.json index 7fcbedf0d6..d4837e46b2 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "rc-steps": "~3.3.0", "rc-switch": "~1.8.0", "rc-table": "~6.3.4", - "rc-tabs": "~9.4.6", + "rc-tabs": "~9.5.1", "rc-time-picker": "~3.4.0", "rc-tooltip": "~3.7.3", "rc-tree": "~1.14.6",