jasonkuhrt / react-popover

A smart popover component for React
600 stars 253 forks source link

e.containerEl is null #164

Open mhluska opened 6 years ago

mhluska commented 6 years ago

I'm seeing this issue in my app: https://sentry.io/share/issue/5ac4bf1eaf754432887803b1d52779d2/

It happens for Firefox 57, Windows 10.

I don't have more context for now but I'll try to reproduce it locally and get more details.

tzaban commented 6 years ago

Happend to me to:

TypeError e.containerEl is null

./node_modules/react-popover/build/index.js in func at line 400:1

var _this2 = this; this.setState({ exiting: true }); this.exitingAnimationTimer2 = setTimeout(function () { setTimeout(function () { _this2.containerEl.style.transform = flowToPopoverTranslations[_this2.zone.flow] + "(" + _this2.zone.order * 50 + "px)"; _this2.containerEl.style.opacity = "0"; }, 0); }, 0); this.exitingAnimationTimer1 = setTimeout(function () {