cni / nims

Legacy version of NIMS. All new development at @scitran
14 stars 12 forks source link

support touch devices #36

Closed rfdougherty closed 10 years ago

rfdougherty commented 11 years ago

The NIMS GUI makes use of double-click events to show the pop-overs, such as the image viewer. Many touch devices such as iphone, ipad, and android devices do not have a double click and thus cannot access the pop overs. Options to fix include:

  1. emulate a double click when user taps the item twice. Note that real double-tap events are usually intercepted by the mobile browser (e.g., on chrome they zoom in).
  2. intercept the long-tap event (not sure this is possible-- browsers also seem to intercept these)
  3. Detect when a device does not support double-click and just open popups on single click (but that might be too annoying)