PixelsCommander / Propeller

JavaScript library to rotate elements with mouse or touch gestures. Supports inertia and stepwise rotation. Optimized for better performance.
http://pixelscommander.com/polygon/propeller/
409 stars 58 forks source link

Does not work in Firefox 27 #1

Closed andreicristianpetcu closed 10 years ago

andreicristianpetcu commented 10 years ago

It does not work in Firefox 27. Does it use any specific JavaScript/HTML5 stuff that is not implemented in Firefox?

PixelsCommander commented 10 years ago

Seems it is caused by FireFox responsive console itself. So FF27 with responsive console opened is needed to reproduce issue.

In progress.

andreicristianpetcu commented 10 years ago

No. I reproduce it only with all the developer tools disabled.

I can roll the propeller only in responsive design view with the "Simulate touch events" button https://developer.mozilla.org/en-US/docs/Tools/Responsive_Design_View#Responsive_Design_View_controls

PixelsCommander commented 10 years ago

I figured out the reason of this issue. It is responsive debug panel bug.

Using responsive debug tool sets some flags in FF configuration but never reverts them back: dom.w3c_touch_events.enabled;1 dom.w3c_touch_events.expose;false

This makes FF always behave as it have touch device connected however never produce touch events.

To fix this issue open about:config and set flags to: dom.w3c_touch_events.enabled;0 dom.w3c_touch_events.expose;true

andreicristianpetcu commented 10 years ago

Just setting the dom.w3c_touch_events.enabled;0 fixes my issue. 0 is default from what I see. I do not have dom.w3c_touch_events.expose. It worked without changing dom.w3c_touch_events.expose;true.

andreicristianpetcu commented 10 years ago

I filed a Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=972431