Steps to reproduce:
Actual result:
Browser stops responding to most clicks, the following error is seen in the dev console:
Uncaught TypeError: Cannot read property 'filter' of undefined
at ContextMenuSingle.render (contextMenu.js:236)
at ReactCompositeComponent.js?d2b3:795
at measureLifeCyclePerf (ReactCompositeComponent.js?d2b3:75)
at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js?d2b3:794)
at ReactCompositeComponentWrapper._renderValidatedComponent (ReactCompositeComponent.js?d2b3:821)
at ReactCompositeComponentWrapper._updateRenderedComponent (ReactCompositeComponent.js?d2b3:745)
at ReactCompositeComponentWrapper._performComponentUpdate (ReactCompositeComponent.js?d2b3:723)
at ReactCompositeComponentWrapper.updateComponent (ReactCompositeComponent.js?d2b3:644)
at ReactCompositeComponentWrapper.receiveComponent (ReactCompositeComponent.js?d2b3:546)
at Object.receiveComponent (ReactReconciler.js?399b:124)
I am experiencing the same issue and have a fix. Can I make a pull request?
@dorin131 Please do. I have a work-around (just adding a check / returning null) however a root cause fix would be great.
@evq That was going to be my fix :D
But let me try to figure out the root cause and do it properly.
Also, several tests are failing. Is it OK to skip them when pushing this fix and deal with them as a separate issue?
@dorin131 if unit tests are failing, I can help you look at it (as part of the pull request) 馃槃
@bsclifton this doesn't seem to be an issue anymore
Can confirm that this appears to have been fixed.