mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
fix nested Popconfirm, close #977
This commit is contained in:
parent
151708910e
commit
588914ecd7
@ -23,4 +23,3 @@ ReactDOM.render(
|
||||
</Popconfirm>
|
||||
, mountNode);
|
||||
````
|
||||
|
||||
|
@ -62,7 +62,7 @@ export default React.createClass({
|
||||
}
|
||||
},
|
||||
render() {
|
||||
const { title, okText, cancelText, placement, overlayStyle, trigger } = this.props;
|
||||
const { title, okText, cancelText, placement, overlayStyle, trigger, ...restProps } = this.props;
|
||||
const overlay = (
|
||||
<div>
|
||||
<div className={prefixCls + '-content'}>
|
||||
@ -81,7 +81,7 @@ export default React.createClass({
|
||||
const transitionName = transitionNames[placement];
|
||||
|
||||
return (
|
||||
<Tooltip placement={placement}
|
||||
<Tooltip {...restProps} placement={placement}
|
||||
overlayStyle={overlayStyle}
|
||||
prefixCls={prefixCls}
|
||||
onVisibleChange={this.onVisibleChange}
|
||||
|
Loading…
Reference in New Issue
Block a user