I am trying to import jquery 2.2.4 in lightning component but i am facing issue
with error code
Custom Script Eval error [SecureDOMEvent: [object Event]{ key: {"namespace":"c"} }]
I Enabled Stricter Content Security Policy but still no luck. Do we have any alternative approach for this?
Best Answer
Had this exact same issue and by using Locker Console, I identified my jQuery static resource was at fault. https://developer.salesforce.com/docs/component-library/tools/locker-service-console
Solution for me was to create a new static resource from https://code.jquery.com/
Hope it works for you