press event not working in ionic4
Harshitha-7 opened this issue · comments
Harshitha-7 commented
i have installed hammerjs using npm.
I have imported in main.ts file
still press event is not working
ferryfw commented
Try adding HammerModule into app.module.ts. It worked for me.
mahen23 commented
Try adding HammerModule into app.module.ts. It worked for me.
Can you explain why my press events are being detected on chrome browser, but when i run the app on my phone, it no longer detects them ?