jQuery-contextMenu icon indicating copy to clipboard operation
jQuery-contextMenu copied to clipboard

TypeError: Cannot read properties of undefined (reading 'events') on Chrome 132+

Open SvenCM opened this issue 1 year ago • 0 comments

I cannot reproduce that issue, but we get that error logged very frequently in Sentry error tracking: "TypeError: Cannot read properties of undefined (reading 'events')"

Here e.data.events.preShow(t,e) is called, but e.data.events is undefined, which is why the error "Cannot read properties of undefined (reading 'events')" occurs.

As we do not use "events" property of contextMenu at all, I doubt we can fix anything.

Currently we are using JQuery v3.7.1

Seems that the error began with release of Chrome 132:

Image

SvenCM avatar Feb 20 '25 11:02 SvenCM