mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
render popup to body
This commit is contained in:
parent
a46f694766
commit
85c30ab0ad
@ -7,7 +7,8 @@ export default React.createClass({
|
||||
return {
|
||||
transitionName: '',
|
||||
placement: 'top',
|
||||
trigger: 'hover'
|
||||
trigger: 'hover',
|
||||
overlayStyle: {}
|
||||
};
|
||||
},
|
||||
render() {
|
||||
@ -29,12 +30,13 @@ export default React.createClass({
|
||||
|
||||
return (
|
||||
<Tooltip placement={this.props.placement}
|
||||
prefixCls={prefixCls}
|
||||
delay={0.1}
|
||||
renderPopupToBody={false}
|
||||
transitionName={transitionName}
|
||||
trigger={this.props.trigger}
|
||||
overlay={overlay}>
|
||||
prefixCls={prefixCls}
|
||||
delay={0.1}
|
||||
overlayStyle={this.props.overlayStyle}
|
||||
renderPopupToBody={true}
|
||||
transitionName={transitionName}
|
||||
trigger={this.props.trigger}
|
||||
overlay={overlay}>
|
||||
{this.props.children}
|
||||
</Tooltip>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user