Fix badge in old webkit browser

This commit is contained in:
afc163 2016-03-09 11:57:00 +08:00
parent b706a024c6
commit 1c5bc26e9f

View File

@ -76,6 +76,7 @@ class AntScrollNumber extends React.Component {
className: `${this.props.prefixCls}-only`,
style: {
transition: removeTransition && 'none',
webkitTransform: `translate3d(0, ${-position * height}px, 0)`,
transform: `translate3d(0, ${-position * height}px, 0)`,
height,
},