Fix Badge render bug in Chrome, close #2208

This commit is contained in:
afc163 2016-06-28 19:57:14 +08:00
parent 029183d5cf
commit d4b57fa4c8

View File

@ -104,8 +104,8 @@ export default class ScrollNumber 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)`,
WebkitTransform: `translateY(${-position * height}px)`,
transform: `translateY(${-position * height}px)`,
height,
},
key: i,