-
Notifications
You must be signed in to change notification settings - Fork 64
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
Zoom only when keyboard is pressed #111
Comments
Could you post the template code where you use the library? And is there any errors in the console? |
There is no error in the console, here is the template I'm using:
|
And here is my issue: there is an existing key listener on the parent component:
Having this code, the zoom by pressing a key is even not working :( |
I haven't experimented much with other event handlers around the same part, but the symptoms you describe make it sound plausible. Does it work if you remove the HostListener you have? Just as a way of isolating the cause? I do need to listen to various mouse events to be able to make the zooming happen, so if your HostListener is interfering maybe it's possible to make sure mouse events doesn't get consumed by it? The ngx-image-zoom part seems to be set up correctly so I don't have much else to go on to guess what the issue is. |
than you for you answer |
Hello
I report a strange issue. My thumbnail is well-loaded, I do not have a bigger picture. But the lens appears only when I press a key in my keyboard... And the lens does not follow the mouse
Does someone have an explanation for this strange behavior?
Thx
The text was updated successfully, but these errors were encountered: