mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 14:59:35 +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() {
|
||||
@ -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}>
|
||||
|
Loading…
Reference in New Issue
Block a user