You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This is causing headaches for many people trying to use 3rd party libs with Angular2. Is there a fix coming or a workaround available? Any insight in why this is happening?
Hi,
I initially posed this bug in here angular/angular#7750 since I'd only narrowed it down to
angular2-polyfills.jsbefore I left for holiday. Now that I'm back I dug deeper and found thatzone.jsis the culprit and I can see there are others having similar issues with 3rd party libs. More specifically, in my case, it's becausezone.jsis patching theonkeydownevent which is used by SemanticUIs Search https://github.com/Semantic-Org/Semantic-UI/blob/master/dist/components/search.js#L100Here's an updated plunker with only
zone.jsincluded http://plnkr.co/edit/SQBxicLoQ5LiFXJgT4qm?p=preview. Commenting oututils_1.patchOnProperties(HTMLElement.prototype, eventNames);the search tool works as intended again or even just removingonkeydownfrom the patched events "solves" the issue.This is causing headaches for many people trying to use 3rd party libs with Angular2. Is there a fix coming or a workaround available? Any insight in why this is happening?
Regards,
Daniel