Opened 5 years ago

Last modified 3 years ago

#18150 assigned defect

dojo/touch still emits synthetic click after touchstart/touchend.preventDefault()

Reported by: bill Owned by: bill
Priority: undecided Milestone: 1.15
Component: Events Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:

Description

Calling evt.preventDefault() on a touchstart, touchmove, or touchend event generally cancels the click event from occurring. Albeit, as documented in #15878, that didn't happen on Android 4.1.

However, dojo/touch still fires a synthetic click when the touchstart, touchmove, or touchend were prevented.

Seems like a bug, but it's hard to change because judging from #15878, dojox/mobile is depending on this behavior. Likewise, the code added in #17816 depends on it too.

Change History (6)

comment:2 Changed 5 years ago by Bill Keese <bill@…>

In 3df4a0658b2800d1dafa3cb87f95850187a94d39/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:1 Changed 5 years ago by Bill Keese <bill@…>

In 52fbf1f07d680342063f095b8f0f9a9471723716/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:2 Changed 5 years ago by Bill Keese <bill@…>

In d4b8283c5c1cff9397290438165bb57a77a974de/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:3 Changed 4 years ago by Bill Keese <bill@…>

In cfbb049eac4c89faa5e72ad7121d6f0634585071/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:4 Changed 3 years ago by dylan

Milestone: tbd1.12
Owner: set to bill
Status: newassigned

Candidate for 1.12, or close the remaining issue as patchwelcome?

comment:5 Changed 3 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.