You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

501 B

order debug title
4 true [{zh-CN 隐藏后销毁} {en-US Destroy tooltip when hidden}]

zh-CN

通过 destroyTooltipOnHide 控制提示关闭时是否销毁 dom 节点。

en-US

Setting destroyTooltipOnHide to control whether destroy dom node of tooltip when hidden.

import { Tooltip } from 'antd';

export default () => (
  <Tooltip destroyTooltipOnHide={{ keepParent: false }} title="prompt text">
    <span>Tooltip will destroy when hidden.</span>
  </Tooltip>
);