Opened 7 years ago

Closed 7 years ago

#16720 closed enhancement (fixed)

Remove delay before onClick on dojox/mobile/Button

Reported by: Eric Durocher Owned by: Eric Durocher
Priority: undecided Milestone: 1.9
Component: DojoX Mobile Version: 1.8.3
Keywords: Cc: Chris Mitchell, cjolif, bill
Blocked By: Blocking:

Description

The dojox/mobile/Button listens to "click" events, and on mobile devices these are sent after a slight delay by the browser after the user touches the screen and releases the finger (because the browser waits to see if the user will actually scroll). This gives a slow response feeling to the button. It should be possible to call onClick immediately when the touchend event is fired, without waiting for the actual click event.

Change History (5)

comment:1 Changed 7 years ago by Eric Durocher

Cc: Chris Mitchell cjolif added

comment:2 Changed 7 years ago by Eric Durocher

The browser delay seems to exist only on Android 2.2 and previous version.

comment:3 Changed 7 years ago by Eric Durocher

Actually the delay is still there on iOS6 (although not very long, but noticeable, something like 200ms I would say).

comment:4 Changed 7 years ago by Eric Durocher

Cc: bill added

See patch proposal on #15878

comment:5 Changed 7 years ago by Eric Durocher

Milestone: tbd1.9
Resolution: fixed
Status: newclosed

#15878 is fixed, so closing this one too.

Note: See TracTickets for help on using tickets.