Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error report on console #65

Open
ghost opened this issue Apr 15, 2019 · 1 comment
Open

Error report on console #65

ghost opened this issue Apr 15, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 15, 2019

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
image

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.

@jrquick17
Copy link

This has been fixed in the updated project found here, specifically in this commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant