ionic-tooltips
ionic-tooltips copied to clipboard
Error report on console
Describe the bug Using Ionic v4.12 On the console I get a message: The "press" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified. As far as I could tell it comes from tooltip.directive.ts on the @hostListener('press') decorative.
To Reproduce Also I have to mention that I do not use your component as is because I had to provide support to multi lingual hints so I changed the trigger() function to get the hint text from API and on the provider observable subscription I called showTooltip() with the resulted text. I do not believe this is the cause of the problem though.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
- OS: linux fedora 28
- Browser chrome 73.0.3683.103 (Official Build) (64-bit) on Incognito window
- Version Ionic v4.12
- Angular Version: 7.2.2
Additional context When I commented out the @hostListener('press') function I did not receive this error.
This has been fixed in the updated project found here, specifically in this commit