diff --git a/src/Popover/Popover.js b/src/Popover/Popover.js index 5169ff20e98dc3..c4bc5e22fb70e7 100644 --- a/src/Popover/Popover.js +++ b/src/Popover/Popover.js @@ -154,7 +154,14 @@ class Popover extends Component { this.setState({ open: true, closing: false, - }); + setPlacement: false, + }, () => { + setTimeout(() => { + this.setState({ + setPlacement: true, + }) + }) + }); } else { if (nextProps.animated) { if (this.timeout !== null) return; @@ -213,7 +220,10 @@ class Popover extends Component { ...other } = this.props; - let styleRoot = style; + let styleRoot = { + ...style, + opacity: this.state.setPlacement ? 1 : 0, + }; if (!animated) { styleRoot = {