Hammer is not defined error after upgrading to Angular 9
New DiscussionHello!
after upgrading to Angular 9 and following the instructions of
https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update_guide.html#additional-manual-changes
I keep getting a “Hammer is not defined” error in the browser console.
(“IgxGridRowComponent.html:73 ERROR ReferenceError: Hammer is not defined at new HammerGesturesManager” to be precise.)
I tried to add the HammerModule in many ways and different locations (app.module and below). Also I tried to switch off switch off Angular 9’s Ivy but had no luck.
In the end I imported it by string in main.ts (import “hammerjs”;) This depecated way of importing still works somehow but for obvious reasons I want to get rid of it.
Ideas anybody?
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
5 Created On
May 04, 2020 Last Post
5 years, 10 months ago