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

GestureRecognizer on Mozilla Firefox #185

Closed
kilsedar opened this issue Aug 11, 2017 · 3 comments
Closed

GestureRecognizer on Mozilla Firefox #185

kilsedar opened this issue Aug 11, 2017 · 3 comments

Comments

@kilsedar
Copy link

I noticed that all the subclasses of GestureRecognizer class do not work on Mozilla Firefox. Is there a fix for this issue?
Thanks.

@pdavidc
Copy link
Contributor

pdavidc commented Aug 11, 2017

Would you please send us more detail, including:

  • Operating system
  • Firefox version
  • Log output (if you're able)

@kilsedar
Copy link
Author

I am using Ubuntu 16.04.
Firefox version: 54.0 (64-bit).
After further investigation, only for two of the subclasses of GestureRecognizer, DragRecognizer and ClickRecognizer which are the ones I suppose for desktop, here are my conclusions. ClickRecognizer works if the target is the WorldWindow itself on Firefox (as it happens at http://worldwindserver.net/webworldwind/examples/GoToLocation.js). However in this case DragRecognizer doesn't work. On Chrome, the same happens.
If I change the target to WorldWindow.canvas, both works on Chrome and neither works on Firefox.
I also find referring the target as "document element" confusing, as it suggests canvas in my opinion more that the WorldWindow.
Note: to check if they work or not, I am simply logging in the console in the callback of the recognizers.

@pdavidc
Copy link
Contributor

pdavidc commented Feb 8, 2018

@kilsedar Is this issue still relevant for you, and is it still reproducible?

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

No branches or pull requests

2 participants