Opened 8 years ago
Closed 8 years ago
#16866 closed defect (fixed)
Click events emitted on disabled buttons on touch devices
Reported by: | Sebastien Brunot | Owned by: | Eric Durocher |
---|---|---|---|
Priority: | undecided | Milestone: | 1.9 |
Component: | DojoX Mobile | Version: | 1.9.0a2 |
Keywords: | Cc: | bill | |
Blocked By: | Blocking: |
Description
On blackberry 10, click events are emitted on disabled buttons. It can be reproduced using the test page dojox/mobile/tests/test_Button.html: when the disabled button is clicket, its click event handler is executed and the following message is displayed in the page: "Disabled" button was clicked.
Attachments (2)
Change History (5)
Changed 8 years ago by
Attachment: | ticket16866.patch added |
---|
comment:2 Changed 8 years ago by
Cc: | bill added |
---|---|
Milestone: | tbd → 1.9 |
Summary: | Blackberry 10: Click events emitted on disabled buttons → Click events emitted on disabled buttons on touch devices |
Note the problem occurs on all touch devices, not only BlackBerry 10, so I update the summary (for some reason I can't edit the description...)
Changed 8 years ago by
Attachment: | touch_click_disabled.patch added |
---|
Don't send synthetic clicks on disabled elements - Eric Durocher (IBM, CCLA)
Note: See
TracTickets for help on using
tickets.
This patch disable the emission of click events on disabled elements (IBM CCLA).