arrow-down arrow at-sign bug check checkbox-checked checkbox-unchecked svg-checkmark chevron-right chevrons-right circle-down circle-left circle-right circle-up cloud2 svg-cross2 download download external-link filter github hash home leaf leaf left link-2 log-in log-out mail menu message-square minus plus radio-checked radio-checked2 radio-unchecked search settings spinner8 target twitter up upload-2 user users warning x zap
  • Home
  • Report a bug
  • Contribute
  • All issues
  • Login

URL: http://cultureamp.com
Browser / Version: Firefox 42.0
Operating System: Windows 8.1
Problem type: Something else - I'll add details below

Steps to Reproduce
To test this, you need access to a cultureamp.com survey and must set dom.w3c_touch_events.enabled to 1 in about:config.

  1. Navigate to: http://cultureamp.com survey
  2. Try to click "heatbars" by mouse to answer survey

Expected Behavior: UI should work

Actual Behavior: Nothing happens.

Touch events being enabled confuses the JavaScript on this site because it is coded to handle either touch or mouse input. This is a simple coding mistake because many devices (think touch-enabled laptops) support both touch and mouse usage. Users will be very confused when the survey can only be filled in by touching the screen but not by mouse.

I assume the problem is caused by the use of this variable:

window.TOUCH_DEVICE = 'ontouchstart' in document.documentElement && !window._phantom

It would be better to listen for both touch and mousedown (or click) events.

Please login to edit issues.

View issue on Github

Shortcut: Press l on your keyboard to open the label editor. Shortcut: Press g on your keyboard to be taken to the GitHub view of this page.
Closed: Fixed
#1889

cultureamp.com - survey UI does not respond to mouse clicking / mouseover if touch is enabled

Opened: 2015-11-05
Reporter: hallvors
Comments: 4
  • Home
  • List of issues
  • About
  • Contribute
  • Contact
  • Privacy Policy
  • Terms of Service
  • Code of Conduct