Pomax / react-onclickoutside

An onClickOutside wrapper for React components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to get property 'getInstance' of undefined or null reference

ehsangazar opened this issue · comments

commented

This issue has been happening on the website for quite a long time now
Unable to get property 'getInstance' of undefined or null reference

In this line:
var ref = this.instanceRef; return ref.getInstance ? ref.getInstance() : ref;

And this is a version we are using 6.7.1

Just in Browser Edge!

Let me know please how to resolve it please, thanks

the same issue with react-datepicker which uses react-onclickoutside

@Pomax
Looks like a dublicate of #271
I can't reproduce, but I see the error in our https://sentry.io/ monitoring tool - IE 11 and Edge only.

I also have this exception on Chrome. It only happens when I click in the window after a hot reload