Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#3662 closed feature (notabug)

Cancel event bubbling from datepicker

Reported by: leemhenson Owned by:
Priority: minor Milestone:
Component: ui.datepicker Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:


Patch attached which adds support for a cancelBubbling option, as described in this post:

Essentially it allows the user to stop onclick/onchange events escaping the datepicker, as the rebuild of the datepicker html that occurs before the bubbling means that the points at a node which is no longer in the dom.

Attachments (1)

datepicker.patch (8.9 KB) - added by leemhenson 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by leemhenson

Attachment: datepicker.patch added

comment:1 Changed 14 years ago by leemhenson

I think this is now the wrong approach to solve my problem. Since the w3c spec says the path to doc root is calculated and fixed at the point at which the event is raised, it is reasonable for the datepicker to do what it's doing and cause the situation detailed in my post. The other framework in play (javascriptmvc) has been updated to handle disconnected trees of nodes.

comment:2 Changed 14 years ago by caphun

Resolution: invalid
Status: newclosed

comment:3 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.