From 91fa8a56e94ab017f58f9b1f15b6c4373fda3928 Mon Sep 17 00:00:00 2001 From: Yannick Lohse Date: Tue, 23 Apr 2019 11:08:11 +0200 Subject: [PATCH] fix: Default popover state --- react/Popover/Popover.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/react/Popover/Popover.jsx b/react/Popover/Popover.jsx index 812f25a375..91af3652eb 100644 --- a/react/Popover/Popover.jsx +++ b/react/Popover/Popover.jsx @@ -3,6 +3,10 @@ import ReactDOM from 'react-dom' import PropTypes from 'prop-types' import { getScrollParent } from '../utils/dom' export default class Popover extends Component { + state = { + style: {} + } + constructor(props) { super(props) this.defaultStyle = {