Opened 10 years ago

Last modified 10 years ago

#913 new defect

mod_selArea and mod_pan broken in Chrome

Reported by: breul Owned by: dev
Priority: major Milestone:
Component: user interface Version: 2.7.3
Keywords: chrome, pan, zoom Cc:

Description

The init of the two modules tries to detect if the code is being run on a touch enabled device by creating a TouchEvent. This unfortunately works with the Chrome browser (newer, tested on 32+), causing the "box drag" mechanism to no longer work.

I have created a trivial quick fix for my setup, I have attached the diff output.

Attachments (2)

mod_selArea.patch (945 bytes ) - added by breul 10 years ago.
diff out put for mod_selArea.js
mod_pan.patch (358 bytes ) - added by breul 10 years ago.
diff out put for mod_pan.js

Download all attachments as: .zip

Change History (3)

by breul, 10 years ago

Attachment: mod_selArea.patch added

diff out put for mod_selArea.js

by breul, 10 years ago

Attachment: mod_pan.patch added

diff out put for mod_pan.js

comment:1 by breul, 10 years ago

OK, the quick fix above breaks it for mobile chrome clients. I changed it to use both the touch events and the mouse events for chrome user agents...

Note: See TracTickets for help on using tickets.