Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

433
Views
Angular: when update from 8 to 9 - hammerjs + @angular/platform-browser stopped working

I'm using hammerjs for detecting swipe on a small Angular 8 app.

I followed this article - https://medium.com/angular-in-depth/gestures-in-an-angular-application-dde71804c0d0 - and I'm using hammerjs with @angular/platform-browser.

However, when 3 days ago Angular 9 was released - I updated with no issues, but now swiping detection is not working at all :( ... don't see errors or warnings. Also - didn't see any notes for platform-browser changes in the update release notes.

Any ideas what's wrong and how to fix it?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I had the same issue and managed to come across this article which has solved my problem.

hammerjs is now optional
In earlier versions hammerjs was required to add gesture support, it is optional now and all implementation used internally is removed, you can use HammerModule from @angular/platform-browser.

Simply adding the HammerModule import to my AppModule fixed it.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!