mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 10:59:42 +08:00
fix: tooltipWrapper容器挂载问题 (#4719)
This commit is contained in:
parent
3b2372202e
commit
5dee09b016
@ -229,7 +229,8 @@ export default class TooltipWrapper extends React.Component<
|
|||||||
showArrow,
|
showArrow,
|
||||||
disabled,
|
disabled,
|
||||||
enterable,
|
enterable,
|
||||||
data
|
data,
|
||||||
|
env
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
const tooltipObj: TooltipObject = {
|
const tooltipObj: TooltipObject = {
|
||||||
@ -239,7 +240,7 @@ export default class TooltipWrapper extends React.Component<
|
|||||||
placement,
|
placement,
|
||||||
trigger,
|
trigger,
|
||||||
rootClose,
|
rootClose,
|
||||||
container,
|
container: container !== undefined ? container : (env && env.getModalContainer ? env.getModalContainer : undefined),
|
||||||
tooltipTheme,
|
tooltipTheme,
|
||||||
tooltipClassName,
|
tooltipClassName,
|
||||||
mouseEnterDelay,
|
mouseEnterDelay,
|
||||||
|
Loading…
Reference in New Issue
Block a user