v6.6.2
- moved "uid" generation from
componentDidMount
to the constructor, otherwise ifenableOnClickOutside
got called beforecomponentDidMount
(i.e. inWrappedComponent
's componentDidMount) the handler got registered under undefined "uid"
componentDidMount
to the constructor, otherwise if enableOnClickOutside
got called before componentDidMount
(i.e. in WrappedComponent
's componentDidMount) the handler got registered under undefined "uid"