lauren/pick-a-color — pull request #36 by carlherbst (2014-01-30 21:23:31+00:00)
Title: check for mobile device browsers before using touch events

Another solution may be more efficient, but the problem is that windows machines with touchscreens can't use the mouse to control pick-a-color in chrome; only the touchscreen input is recognized.

Windows touchscreens also send equivalent mouse events, so one of the easiest ways to filter out windows touchscreens was to check for mobile user agents.

I tried asking jquery to listen to both mouse and touch events, but pick-a-color still doesn't work as both events are sent simultaneously, effectively opening and immediately closing the picker window.

Any other suggestions for letting windows users use both mouse and touchscreens?