01org/appframework — pull request #279 by dpesch (2013-06-18 07:34:04+00:00)
Title: FeatureRequest: property to disable auto-pressed feature completely

Hi Ian,

I've send you this feature request (pr) to disable the automatic »pressed« class in touchEvents. I create a setting »$.ui.useAutoPressed« which is set to true by default – like in af. But you could set it to false, to prevent the »pressed« class on touch events.

We've got 2 probs with the existing »AutoPressed« feature:
1. our designers don't like the pressed class applied to every touched element (they prefer a pressed class only on »touchable« elements.
2. this feature collidates with CanvasJS and generates: »Maximum call stack size exceeded / appframework.js line 913« (on desktop safari with simulated touch events)

I hope you'll like this request. Best regards dom