ContextMenu and event


#1

If you pass an event instead of an element to .showAt(), the implementation is not cross browser compatible. It works fine in firefox, but not so well in chrome based browsers:

node.getBoundingClientRect is not a function at Object.getRealPosition

It looks like the underlying issue is that the event is not being seen as an instance of MouseEvent.

Cheers,

Alex