render popup to body

This commit is contained in:
yiminghe 2015-08-19 20:16:20 +08:00
parent a46f694766
commit 85c30ab0ad

View File

@ -7,7 +7,8 @@ export default React.createClass({
return {
transitionName: '',
placement: 'top',
trigger: 'hover'
trigger: 'hover',
overlayStyle: {}
};
},
render() {
@ -31,7 +32,8 @@ export default React.createClass({
<Tooltip placement={this.props.placement}
prefixCls={prefixCls}
delay={0.1}
renderPopupToBody={false}
overlayStyle={this.props.overlayStyle}
renderPopupToBody={true}
transitionName={transitionName}
trigger={this.props.trigger}
overlay={overlay}>